Skip to content

trie-db: Avoid cloning the hashes on the hot path - #234

Open
lexnv wants to merge 6 commits into
compact-prooffrom
lexnv/compact-proof-2
Open

trie-db: Avoid cloning the hashes on the hot path#234
lexnv wants to merge 6 commits into
compact-prooffrom
lexnv/compact-proof-2

Conversation

@lexnv

@lexnv lexnv commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

This PR addresses the comments from #233 and optimizes the seen_hashes to take an TrieHash instead of allocating a vec.

lexnv added 6 commits July 31, 2026 16:00
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
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