-
Notifications
You must be signed in to change notification settings - Fork 5
Replace recursive tree traversal #58
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 3 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
6ef3897
restructure test organization
wngr d989eaf
add non-recursive tree traversal
wngr 245f3b2
replace iter_filtered_chunked0 with traverse0
wngr 455185c
change stream_filtered_chunked to use traverse
wngr a105154
add DoubleEndedIter impl for ForestIter
wngr 86a2f8b
add some more iter based convenience methods and cleanup
wngr da5b67b
honor offset passed into reverse traversal
wngr c91803c
dry forward and backward iteration
wngr 02dde24
dont expose offset for reverse traversal
wngr 6fb7563
add test comparing forward and reverse case
wngr 2fea7fa
dont expose offset passing at all
wngr cab7d66
add another test
wngr 99af728
use a common stack for both index and positions and try to dry up the
wngr 05cc8fe
Add test for traversal of very deep trees
rklaehn 8def1b9
Remove the scary 'outer
rklaehn 276179f
Use empty filter as a marker that it still has to be initialized
rklaehn bf39759
Format new test
rklaehn 9b5f2c5
clippy the tests
rklaehn 3838ac5
Merge pull request #59 from Actyx/rkl/traversal-improvements
wngr 8b871a5
remove DoubleEndedIterator impl
wngr ca2ebce
create non-empty range and dont reverse data items inside a chunk
wngr 97fae3c
WIP
rklaehn e09ae96
Try using isize for position, so that it can be directly the position…
rklaehn f2ebf2a
Add comment about ordering of data in FilteredChunk
rklaehn e1b2c22
pr comments by @rkuhn
wngr 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,2 @@ | ||
| /target | ||
| *sqlite | ||
| target |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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.