4 ms·
Why would it be slower? Indexing may incur range checks, but iterators/combinators are pretty much destined to have them elided.
by simon_o 4y ago
Why would it be slower?
Indexing may incur range checks, but iterators/combinators are pretty much destined to have them elided.
- vgatherps 4y agoIn my experience with rust, iterators compile down to optimal code until they hit an LLVM cliff and generate insane garbage.