Skip to content

Conversation

@ElijahVlasov
Copy link
Collaborator

  1. Moved benchmarks for the arithmetic operations here and duplicated them for each type of a field.
  2. Shortened the implementations of Inv and CheckedDiv for all bigint fields and improved performance of the operation.

@ElijahVlasov
Copy link
Collaborator Author

ElijahVlasov commented Nov 21, 2025

  1. Shortened the implementations of Inv and CheckedDiv for all bigint fields and improved performance of the operation.

The improvement is consistent 60-70% on my machine

Copy link
Collaborator

@frozenspider frozenspider left a comment

Choose a reason for hiding this comment

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

All 3 benches seems to be doing an exact same thing. Can we move the common code out and abstract it over PrimeField much like we did for Zip+?

@ElijahVlasov ElijahVlasov merged commit f995791 into main Nov 28, 2025
10 checks passed
@ElijahVlasov ElijahVlasov deleted the ElijahVlasov/op_benches branch November 28, 2025 10:33
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.

3 participants