mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-24 22:17:08 +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