diff options
| author | The 8472 <git@infinite-source.de> | 2023-03-06 15:07:02 +0100 |
|---|---|---|
| committer | The 8472 <git@infinite-source.de> | 2023-03-17 19:56:03 +0100 |
| commit | 7cce618d18c8203369d605d1ccedcfda09d58acc (patch) | |
| tree | c66fb6e99f48f923502f04644133e71654509e3f /compiler/rustc_parse/src | |
| parent | 03b01c5bec658081605ab078ad3fbcdb6b30f6c2 (diff) | |
| download | rust-7cce618d18c8203369d605d1ccedcfda09d58acc.tar.gz rust-7cce618d18c8203369d605d1ccedcfda09d58acc.zip | |
Fast path that skips over unchanged obligations in process_obligations
- only borrow the refcell once per loop - avoid complex matches to reduce branch paths in the hot loop - use a by-ref fast path that avoids mutations at the expense of having false negatives
Diffstat (limited to 'compiler/rustc_parse/src')
0 files changed, 0 insertions, 0 deletions
