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

⚡️ Branchless sqrt opt #317

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

Vectorized
Copy link
Contributor

@Vectorized Vectorized commented Sep 9, 2022

Description

After it turned branchless, the compiler might have precomputed the results for the simple tests during compile time
(something something branchless functions being inlined).

Added a few more tests to fully test the gas.

Checklist

Ensure you completed all of the steps below before submitting your pull request:

  • Ran forge snapshot?
  • Ran npm run lint?
  • Ran forge test?

Pull requests with an incomplete checklist will be thrown out.

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.

None yet

1 participant