forked from near/nearcore
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[trie] Introduce GenericTrieNode as replacement of GenericUpdatedTrie…
…Node (near#12496) This PR introduces the GenericTrieNode which is a generalization on top of GenericUpdatedTrieNode where the nodes need not be an update type node. This is useful in scenarios where we are not dealing with just updates, for example generalizing iterators over tries etc. Along with this change this PR renames `GenericUpdatedNodeId` to `UpdatedNodeId` which is more appropriate as for both memtries and store tries we have UpdatedNodeId as usize.
- Loading branch information
1 parent
5f36b1f
commit 9407fe9
Showing
7 changed files
with
141 additions
and
101 deletions.
There are no files selected for viewing
This file contains 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 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 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.