about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-12-28 05:50:20 +0000
committerbors <bors@rust-lang.org>2021-12-28 05:50:20 +0000
commit3354876876cfa49154481d26ff2dc9497afe29b7 (patch)
treef6b1197ac617bb2ac01d672c1880ca66ecdc19e9 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent5d194d1952bba0974cbe9ab249cc70e75f9cf8ae (diff)
parent8da9a823cbadfbb93b8a9e519ff3b5e03989dcb2 (diff)
downloadrust-3354876876cfa49154481d26ff2dc9497afe29b7.tar.gz
rust-3354876876cfa49154481d26ff2dc9497afe29b7.zip
Auto merge of #8182 - rust-lang:cache-test-items, r=giraffate
cache test item names

This avoids quadratic behavior (collecting all test item names for each `eq_op` instance within the module). However, it invests a good deal of memory to buy this speedup. If that becomes a problem, I may need to change the cache to only store the chain of last visited modules.

This hopefully fixes #8171.

---

changelog: none
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions