The Rust Programming Language Forum
Collect for ExactSizedIterator?
help
SkiFire13
January 19, 2021, 9:40am
6
An
assert_eq
also contains an
if
that has to run in each iteration.
2 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
Why iterating over the iterator is 3x slower
help
8
1080
October 7, 2021
Is there some kind of `ExactSizeIterator::collect_backward()`?
18
1072
December 10, 2020
Why doesn't `Vec` implement `ExactSizeIterator`
5
1587
December 4, 2022
Collect result + extend()
help
3
563
May 18, 2023
What is under the hood of Iterator::collect? I cannot explain the weirdest part
help
7
851
April 2, 2021