-
Notifications
You must be signed in to change notification settings - Fork 21.4k
trie: introduce UpdateBatch #32448
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
trie: introduce UpdateBatch #32448
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to reset the flag of the root node if there are any mutations. Otherwise, when it comes time to hash, the previous hashed node will be cached in the root.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
either implement it, or panic
cd191ed to
a160896
Compare
Uh oh!
There was an error while loading. Please reload this page.
This feature is an optimization used in the BAL, mostly for experimental purpose.