-
Notifications
You must be signed in to change notification settings - Fork 152
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
✨ ♻️ Cached TrieStateStore
#3489
✨ ♻️ Cached TrieStateStore
#3489
Conversation
2cb9598
to
2f67258
Compare
TrieStateStore
3166887
to
3c4519f
Compare
3c4519f
to
23b1be4
Compare
23b1be4
to
d57b120
Compare
d57b120
to
3e6989e
Compare
This PR has Quantification details
Why proper sizing of changes matters
Optimal pull request sizes drive a better predictable PR flow as they strike a
What can I do to optimize my changes
How to interpret the change counts in git diff output
Was this comment helpful? 👍 :ok_hand: :thumbsdown: (Email) |
Merged in #3495 |
This overhauls existing caching strategy. Shows about 20% ~ 25% improvement for
Block
execution time with 1 million cache capacity.There is a slight change in API, but should be compatible as added parameters are all optional. This should be refactored before 3.8 release.Edit: I'm looking into whether
MerkleTrie()
constructors should be madeinternal
. 😶