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 /tests/rustdoc-js-std/parser-errors.js | |
parent | 03b01c5bec658081605ab078ad3fbcdb6b30f6c2 (diff) | |
download | rust-7cce618d18c8203369d605d1ccedcfda09d58acc.tar.gz |
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 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions