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: use trailing and leading zeros in bitmath #35

Merged
merged 1 commit into from
Apr 13, 2024

Conversation

DaniPopes
Copy link
Contributor

The EVM only exposes to simple operations so libraries must resort to black magic to make more complex operations work and be performant. This doesn't map to the real world well, where we can simply use the standard library to do the hard work for us.

@0xKitsune
Copy link
Owner

Thanks for opening this PR! The more solidity black magic we can remove the better!

@0xKitsune 0xKitsune merged commit a2b0176 into 0xKitsune:main Apr 13, 2024
4 checks passed
@DaniPopes DaniPopes deleted the bitmath branch April 13, 2024 22:45
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.

2 participants