Open shuklaayush opened 1 year ago
PrimeField currently uses the montgomery method for doing modular multiplication https://github.com/shuklaayush/noir-bigint/blob/e3192a859420ed2aea3842eea1b288a0815a5954/src/prime_field.nr#L144-L149
PrimeField
This is a bottleneck right now. Explore if there are faster ways to do this
One idea is to use unconstrained functions/brillig to optimize - https://github.com/noir-lang/acvm-docs/blob/main/docs/brillig/00_intro.md
unconstrained
Links:
PrimeField
currently uses the montgomery method for doing modular multiplication https://github.com/shuklaayush/noir-bigint/blob/e3192a859420ed2aea3842eea1b288a0815a5954/src/prime_field.nr#L144-L149This is a bottleneck right now. Explore if there are faster ways to do this
One idea is to use
unconstrained
functions/brillig to optimize - https://github.com/noir-lang/acvm-docs/blob/main/docs/brillig/00_intro.mdLinks: