Skip to content

Commit ccd64e5

Browse files
committed
Reduce PRECOMP_TABLE_SIZE to avoid stack overflow
1 parent 5339f7c commit ccd64e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ff/src/fields/models/fp/montgomery_backend.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use crate::{
88
};
99
use ark_ff_macros::unroll_for_loops;
1010

11-
pub const PRECOMP_TABLE_SIZE: usize = 65536;
11+
pub const PRECOMP_TABLE_SIZE: usize = 1 << 14;
1212

1313
/// A trait that specifies the constants and arithmetic procedures
1414
/// for Montgomery arithmetic over the prime field defined by `MODULUS`.

0 commit comments

Comments
 (0)