rust-itertools / itertools

Extra iterator adaptors, iterator methods, free functions, and macros.
https://docs.rs/itertools/
Apache License 2.0
2.72k stars 309 forks source link

More specialization benchmarks #806

Closed Philippe-Cholet closed 10 months ago

Philippe-Cholet commented 11 months ago

I do not want us to add specialization benchmarks one by one in future pull requests so this is mostly done! Not all of our iterators are benchmarked here:

After this, we will be able to specialize most fold methods (see #755) faster because their specialization tests/benchmarks are written and we will just need to write the specialization in a commit, run tests, benchmark it before/after and review the PR.

jswrenn commented 10 months ago

Go ahead and click Merge if you're ready to do so.