about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2024-07-23 23:19:29 +0200
committerlcnr <rust@lcnr.de>2024-08-12 10:33:04 +0200
commitf860873983d1db578aea09d47cd594d9da512e49 (patch)
treeea0d99ee4e96dd3ce14cbe63b9ebb4498903f51d /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent0c75c080a7d0662d79c9392ea4a57a805d3b1883 (diff)
downloadrust-f860873983d1db578aea09d47cd594d9da512e49.tar.gz
rust-f860873983d1db578aea09d47cd594d9da512e49.zip
split provisional cache and stack lookup
this makes it easier to maintain and modify going forward.
There may be a small performance cost as we now need to
access the provisional cache *and* walk through the stack
to detect cycles. However, the provisional cache should be
mostly empty and the stack should only have a few elements
so the performance impact is likely minimal.

Given the complexity of the search graph maintainability
trumps linear performance improvements.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions