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

Optimize RLP serialization #765

Draft
wants to merge 22 commits into
base: master
Choose a base branch
from
Draft

Optimize RLP serialization #765

wants to merge 22 commits into from

Conversation

chirag-parmar
Copy link
Contributor

@chirag-parmar chirag-parmar commented Dec 11, 2024

  • Implement two pass algorithm
  • Write a benchmarking test comparing two pass with the previous method
  • Implement rlpHash by combining two pass algorithm with chunked updates
  • Wriite a benchmarking test comparing the new rlpHash with the old one
  • use a double buffer technique for hashing so that we don't hit the branching condition in keccak.update for single byte updates

@chirag-parmar chirag-parmar marked this pull request as ready for review December 12, 2024 17:04
@chirag-parmar chirag-parmar marked this pull request as draft December 12, 2024 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant