3 ms·
Iterators in Rust are (usually) zero-cost abstractions of loops. Bjarne Stroustrup's definition: What you don’t use, you don’t pay for. And further: What you d
by danieldk 7y ago
Iterators in Rust are (usually) zero-cost abstractions of loops. Bjarne Stroustrup's definition:
What you don’t use, you don’t pay for. And further: What you do use, you couldn’t hand code any better.
Rust iterators fit in the second part.