2 ms·
There are two types of iterators in Nim. The inlined variant is more efficient, and you can fairly easily wrap it in the other type: the "closure"" iterator. Wh
by dom96 9y ago
There are two types of iterators in Nim. The inlined variant is more efficient, and you can fairly easily wrap it in the other type: the "closure"" iterator. Why do you not consider it a good concept?
- the_mitsuhiko 9y agoBecause since we're comparing this with Rust right now which can achieve highly efficient iterators without sacrificing the ergonomics of it.