Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
TheServer201
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
TheServer201
8y ago
In the Iterators section if you use for (idx, x) in xs.iter().enumerate() instead of for (x, idx) in xs.iter().zip(0..xs.len()) you get the 4x unroll ( https://godbolt.org/z/XDyx0w ).