diff options
| author | lcnr <rust@lcnr.de> | 2024-07-23 23:19:29 +0200 |
|---|---|---|
| committer | lcnr <rust@lcnr.de> | 2024-08-12 10:33:04 +0200 |
| commit | f860873983d1db578aea09d47cd594d9da512e49 (patch) | |
| tree | ea0d99ee4e96dd3ce14cbe63b9ebb4498903f51d /compiler/rustc_codegen_llvm/src | |
| parent | 0c75c080a7d0662d79c9392ea4a57a805d3b1883 (diff) | |
| download | rust-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_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
