Skip to content
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

Remove RootCache #3998

Closed
1 of 2 tasks
dapplion opened this issue May 10, 2022 · 1 comment
Closed
1 of 2 tasks

Remove RootCache #3998

dapplion opened this issue May 10, 2022 · 1 comment
Labels
prio-low This is nice to have. scope-performance Performance issue and ideas to improve performance.

Comments

@dapplion
Copy link
Contributor

dapplion commented May 10, 2022

RootCache is an optimization that prevent having to walk the tree repeatedly when processing attestations.

After merging #3760 the optimization may not be necessary anymore:

@dapplion dapplion added scope-performance Performance issue and ideas to improve performance. prio-low This is nice to have. labels May 10, 2022
@dapplion dapplion mentioned this issue May 10, 2022
8 tasks
This was referenced Aug 6, 2022
@dapplion
Copy link
Contributor Author

After discussing with @tuyennhv RootCache still provides a noticeable performance improvement even with ssz v2, so we are keeping the optimization

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
prio-low This is nice to have. scope-performance Performance issue and ideas to improve performance.
Projects
None yet
Development

No branches or pull requests

1 participant