mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-26 22:26:26 +03:00
7bd89b90e8
Optimize slice {Chunks,Windows}::nth
I've noticed that the `nth` functions on slice iters had non-optimized-out bounds checks.
The new implementation even generates branchless code.