Repository navigation
Implements DoubleEndedIterator for trie iterators
#208
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
cheme
merged 16 commits into
paritytech:master
from
snowmead:snowmead-double-ended-iterator
Jan 5, 2024
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
e09ac42
double ended iterator implementation (wip)
snowmead 2ac96fe
fix decrement child indexing conditional check, add working extension…
snowmead c311283
fix: add `back_key_nibbles` to `TrieDBRawIterator`
snowmead 466867b
refactor test
snowmead fe3ad11
remove is_none asserts for double ended iterator
snowmead 3bda42e
use nibble length instead of static 15
snowmead 8e1d338
TrieDoubleEndedIterator trait + struct impls, debup internal iteratio…
snowmead 4160082
remove unused fn
snowmead 59ebe31
remove double ended iterator for FatDBKeyIterator,
snowmead e705afa
prev_item & prev_key functions, remove fwd from next_item & next_key,…
snowmead 965c7ba
seek back raw iter
snowmead cd77bf4
add prefix to double ended iter impl
snowmead 6e6457d
add more to prefix test
snowmead 6e916c2
prefix_over_empty_works_internal test
snowmead cc4ab67
renamed test
snowmead 95e489a
new status AftExiting, return middle node in reverse order iteration,…
snowmead 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
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.