-
-
Notifications
You must be signed in to change notification settings - Fork 4k
Override QueryIter::fold to port Query::for_each perf gains to select Iterator combinators #6773
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
Merged
Merged
Changes from 12 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
a2d6b13
Move for_each implementation onto Iterator::fold
james7132 7d17204
Fix starting fold from the middle of iteration
james7132 2c5af86
Simplify for_each cases and add safety docs
james7132 16b94dc
Undo test changes to empty.rs
james7132 fe681cb
Formatting
james7132 da27171
Merge branch 'main' into query-iter-fold
james7132 e0ea6c8
Merge branch 'main' into query-iter-fold
james7132 a11827f
Fix build
james7132 2abc327
Fix CI
james7132 abadb6f
Merge branch 'main' into query-iter-fold
james7132 1883adc
Revert QueryIterationCursor::fetch
james7132 c57481a
Deprecate the functions
james7132 65028bf
Apply suggestions from code review
james7132 2f997d0
Formatting
james7132 4bde3f4
Address deprecation
james7132 bca5e61
Update the safety comments.
james7132 df3d3bb
Address JoJoJet's comment
james7132 ca81c1c
make Query::for_each safer
james7132 dab9734
Remove mentions of QueryState::for_each_unchecked_manual
james7132 d166843
Merge branch 'main' into query-iter-fold
james7132 0d7d7da
Merge branch 'main' into query-iter-fold
james7132 d13e9a6
Update deprecation versions
james7132 144bb14
Fix CI and rename fold_*/for_each_*
james7132 624c3c5
Fix CI
james7132 94bc428
Fix UX tests
james7132 381bfbb
Fix deprecation notice for iter_mut().for_each
james7132 6307015
Merge branch 'main' into query-iter-fold
alice-i-cecile 541f4c5
Inline for_each_in*
james7132 997ab70
Fix CI
james7132 3a9c92c
Remove the for_each_* functions when multithreading is not required.
james7132 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.