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

perf(continuations): Process state trie at the end #406

Closed
Nashtare opened this issue Jul 18, 2024 · 0 comments
Closed

perf(continuations): Process state trie at the end #406

Nashtare opened this issue Jul 18, 2024 · 0 comments
Assignees
Labels
crate: evm_arithmetization Anything related to the evm_arithmetization crate. performance Performance improvement related changes

Comments

@Nashtare
Copy link
Collaborator

#402 is introducing the notion of linked lists for the state trie and moves initial state trie hashing at the end of the execution to remove the burden on memory for prior segments.

This could be pushed further, by changing the tries ordering and processing the state trie after txn & receipt tries. For large batches, this should delay state-related data to be written to memory to later segments.
This may require having state data stored in a decoupled segment than txn / receipt data.

@Nashtare Nashtare added performance Performance improvement related changes crate: evm_arithmetization Anything related to the evm_arithmetization crate. labels Jul 18, 2024
@Nashtare Nashtare added this to the zk-continuations - Q3 2024 milestone Jul 18, 2024
@Nashtare Nashtare closed this as completed Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crate: evm_arithmetization Anything related to the evm_arithmetization crate. performance Performance improvement related changes
Projects
Status: Done
Development

No branches or pull requests

2 participants