mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 03:07:25 +00:00

- 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