Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
58: Use for_each in map Extend and FromIterator r=Amanieu a=cuviper Using `for_each` allows internal iteration, which can have better performance for some iterators. For instance, `Chain` and `FlatMap` have to check their state every time `next()` is called, but when folding they can just forward to their inner iterators. Co-authored-by: Josh Stone <cuviper@gmail.com>
- Loading branch information