Skip to content

⚡️ Branchless sqrt opt#317

Open
Vectorized wants to merge 5 commits intotransmissions11:mainfrom
Vectorized:sqrt
Open

⚡️ Branchless sqrt opt#317
Vectorized wants to merge 5 commits intotransmissions11:mainfrom
Vectorized:sqrt

Conversation

@Vectorized
Copy link
Copy Markdown
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.

1 participant