Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Faster find_position #837

Merged
merged 1 commit into from Jan 10, 2024
Merged

Conversation

Philippe-Cholet
Copy link
Member

find usually rely on try_fold so this change should improve performance for iterators specializing find/try_fold.

Credits to #618, I also noticed https://github.com/phimuemue/rust-itertools/tree/simplify_find_position

`find` usually rely on `try_fold` so this change should improve performance for iterators specializing `find/try_fold`.

Co-Authored-By: Marcel Hellwig <ghpub@cookiesoft.de>
Co-Authored-By: phimuemue <157728+phimuemue@users.noreply.github.com>
Copy link
Member

@phimuemue phimuemue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.

@phimuemue phimuemue added this pull request to the merge queue Jan 10, 2024
Merged via the queue into rust-itertools:master with commit cd6bd87 Jan 10, 2024
8 checks passed
@Philippe-Cholet Philippe-Cholet deleted the find-position branch January 10, 2024 14:24
@Philippe-Cholet Philippe-Cholet added this to the next milestone Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants