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 EvmStack #7843

Merged
merged 5 commits into from
Dec 1, 2024
Merged

Optimize EvmStack #7843

merged 5 commits into from
Dec 1, 2024

Conversation

benaadams
Copy link
Member

Changes

  • Eliminate double bounds checks and improve vectors as most frequently called methods

Types of changes

What types of changes does your code introduce?

  • Optimization

Testing

Requires testing

  • No

Comment on lines +158 to +161
0x18191a1b1c1d1e1ful,
0x1011121314151617ul,
0x08090a0b0c0d0e0ful,
0x0001020304050607ul).AsByte();
Copy link
Member

Choose a reason for hiding this comment

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

shouldn't this vector be a static or something?

Copy link
Member Author

Choose a reason for hiding this comment

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

Jit automagically handles that for you for vectors
image

@benaadams benaadams merged commit c874877 into master Dec 1, 2024
79 checks passed
@benaadams benaadams deleted the stack branch December 1, 2024 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants