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): Only copy non-stale contexts #264

Merged
merged 2 commits into from
Jun 5, 2024

Conversation

Nashtare
Copy link
Collaborator

@Nashtare Nashtare commented Jun 5, 2024

We currently copy the entire memory state before pruning stale contexts, which is wasteful. This tweaks the copy process to proceed to scanning & pruning on the fly.

@Nashtare Nashtare added this to the zk-continuations - Q2 2024 milestone Jun 5, 2024
@Nashtare Nashtare self-assigned this Jun 5, 2024
@github-actions github-actions bot added the crate: evm_arithmetization Anything related to the evm_arithmetization crate. label Jun 5, 2024
evm_arithmetization/src/generation/state.rs Outdated Show resolved Hide resolved
Co-authored-by: Hamy Ratoanina <hamy.ratoanina@toposware.com>
@Nashtare Nashtare enabled auto-merge (squash) June 5, 2024 21:15
@Nashtare Nashtare merged commit 14dc5c2 into feat/continuations Jun 5, 2024
6 checks passed
@Nashtare Nashtare deleted the continuations/copy_only_active_memory branch June 5, 2024 21:32
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.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants