Skip to content

Commit

Permalink
Reduce PRECOMP_TABLE_SIZE to avoid stack overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
moodlezoup committed Feb 28, 2024
1 parent 5339f7c commit ccd64e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ff/src/fields/models/fp/montgomery_backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use crate::{
};
use ark_ff_macros::unroll_for_loops;

pub const PRECOMP_TABLE_SIZE: usize = 65536;
pub const PRECOMP_TABLE_SIZE: usize = 1 << 14;

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

0 comments on commit ccd64e5

Please sign in to comment.