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

use cloudflare bn256 implementation also for wasm build #440

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

magicxyyz
Copy link
Contributor

Part of NIT-2641

bn256 libarary used by bn256* precompiles has two implementations, chosen by a build pragma. This PR enables cloudflare implementation for wasm, as it was previously only build and used for x86 and arm builds. It is a faster implementation and initial experiments suggest that it should render 2x savings in terms of number of arbitrator machine steps required to execute the precompiles.

@cla-bot cla-bot bot added the s CLA signed label Apr 1, 2025
@magicxyyz magicxyyz changed the title Use cloudflare bn256 implementation also for wasm build use cloudflare bn256 implementation also for wasm build Apr 1, 2025
@magicxyyz magicxyyz requested review from eljobe and gligneul April 1, 2025 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s CLA signed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant