-
Notifications
You must be signed in to change notification settings - Fork 20.1k
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
core/state: small trie prefetcher nits #28183
Conversation
Master: |
Nice, next time I get the chance will try to look for benchmarks to run and include in the PR description. |
Small trie prefetcher nits
Small trie prefetcher nits
Small trie prefetcher nits
Small trie prefetcher nits
This reverts commit ab25e35.
This reverts commit ab25e35.
This PR adds a comment to the trie prefetcher
fetches
field to make it clear when it will be populated (I found this non-obvious when reading through the code) and updatestrieID
to allocate a slice up front and copy in rather than usingappend
.Just small nits I found while reviewing the code, hope it's helpful 🫡