File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
curves/src/pasta/wasm_friendly Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -77,11 +77,11 @@ fn gte_modulus<FpC: FpConstants>(x: &B) -> bool {
7777 true
7878}
7979
80- /// TODO performance ideas to test:
81- /// - unroll loops
82- /// - introduce locals for a[i] instead of accessing memory multiple times
83- /// - only do 1 carry pass at the end, by proving properties of greater-than on uncarried result
84- /// - use cheaper, approximate greater-than check a[8] > Fp::MODULUS[8]
80+ // TODO performance ideas to test:
81+ // - unroll loops
82+ // - introduce locals for a[i] instead of accessing memory multiple times
83+ // - only do 1 carry pass at the end, by proving properties of greater-than on uncarried result
84+ // - use cheaper, approximate greater-than check a[8] > Fp::MODULUS[8]
8585pub fn add_assign < FpC : FpConstants > ( x : & mut B , y : & B ) {
8686 let mut tmp: u32 ;
8787 let mut carry: i32 = 0 ;
You can’t perform that action at this time.
0 commit comments