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: Improve PUSH checking in JDA #696

Merged
merged 4 commits into from
Oct 7, 2024
Merged

perf: Improve PUSH checking in JDA #696

merged 4 commits into from
Oct 7, 2024

Conversation

hratoanina
Copy link
Contributor

Replaces the current write_table_if_jumpdest ASM code with a simpler argument.

Reduces the kernel code by ~350 bytes (though a bit less because of the overlap with #684) and removes ~2800 cycles for ERC721.

@github-actions github-actions bot added the crate: evm_arithmetization Anything related to the evm_arithmetization crate. label Oct 3, 2024
@Nashtare
Copy link
Collaborator

Nashtare commented Oct 4, 2024

removes ~2800 cycles for ERC721.

Checked on mainnet blocks, removes ~2.3% CPU cycles

Copy link
Contributor

@4l0n50 4l0n50 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's simpler, cleaner and cheaper so LGTM!

Copy link
Collaborator

@Nashtare Nashtare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really nice improvement! Thanks!

@hratoanina hratoanina merged commit c39341d into develop Oct 7, 2024
20 checks passed
@hratoanina hratoanina deleted the faster_jda branch October 7, 2024 12:54
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.

4 participants