Skip to content

Commit a2422ff

Browse files
mitschabaudevolhovm
authored andcommitted
fix comments
1 parent 3ee9552 commit a2422ff

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

curves/src/pasta/wasm_friendly/backend9.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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]
8585
pub fn add_assign<FpC: FpConstants>(x: &mut B, y: &B) {
8686
let mut tmp: u32;
8787
let mut carry: i32 = 0;

0 commit comments

Comments
 (0)