diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2025-02-19 01:30:13 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-19 01:30:13 +0100 |
| commit | cf8d34257d5d73ce1b31a93daf9d946ad81f3af3 (patch) | |
| tree | 1e54d2692efee03fb921ec6e7c28f05b24e41550 /compiler/rustc_parse/src | |
| parent | 34535b60783ec9dfa798cead6f0af323f60921f0 (diff) | |
| parent | 53effa4566dc1493e1dc5be206105dd99e3192b5 (diff) | |
| download | rust-cf8d34257d5d73ce1b31a93daf9d946ad81f3af3.tar.gz rust-cf8d34257d5d73ce1b31a93daf9d946ad81f3af3.zip | |
Rollup merge of #137216 - amandasystems:cheap-outlives-eval, r=compiler-errors
eval_outlives: bail out early if both regions are in the same SCC A drive-by optimisation of region outlives evaluation: if we are evaluating whether an outlives holds for two regions, bail out early if they are both in the same SCC. This probably won't make a huge difference, but the cost is one comparison of SCC indices (integers). May want a perf run, depending on how confident whomever reviewing this is!
Diffstat (limited to 'compiler/rustc_parse/src')
0 files changed, 0 insertions, 0 deletions
