about summary refs log tree commit diff
path: root/tests/rustdoc-ui/normalize-overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-04-08 11:20:58 +0000
committerbors <bors@rust-lang.org>2023-04-08 11:20:58 +0000
commit66f8dd12551d11eea0fbcf1bf95b2e18fb07a826 (patch)
tree04cc779ba2731717972143d589dd97c86c1192a5 /tests/rustdoc-ui/normalize-overflow.rs
parent9e124c4f7a2978f3e7d9991a8988226f2974d477 (diff)
parent9920baba5f459668b70131df64bb85bd82c3b149 (diff)
downloadrust-66f8dd12551d11eea0fbcf1bf95b2e18fb07a826.tar.gz
rust-66f8dd12551d11eea0fbcf1bf95b2e18fb07a826.zip
Auto merge of #110069 - ndrewxie:issue-104212-fix, r=cjgillot
Switched provisional evaluation cache map to FxIndexMap, and replaced map.drain_filter with map.retain

Switching ProvisionalEvaluationCache's map field from FxHashMap to FxIndexMap was previously blocked because doing so caused performance regressions that could be mitigated by the stabilization of drain_filter for FxIndexMap (#104212). However, the only use of drain_filter can be replaced with a retain, so I made the modification and put in a PR to see if this causes a performance regression as well.

This PR is part of a broader effort (#84447) of removing iteration through FxHashMaps, as the iteration order is unstable and can cause issues in incremental compilation.
Diffstat (limited to 'tests/rustdoc-ui/normalize-overflow.rs')
0 files changed, 0 insertions, 0 deletions