gat-lending-iterator icon indicating copy to clipboard operation
gat-lending-iterator copied to clipboard

Utilize fold/try_fold for various method implementations

Open Crazytieguy opened this issue 5 months ago • 0 comments

Some iterators (such as skip_while) may have optimized fold implementations, so using them inside other methods is better than using next. It's unclear to me if this is possible on stable, since the Try trait is unstable, so leaving for later.

Crazytieguy avatar Sep 14 '24 21:09 Crazytieguy