Skip to content

Commit

Permalink
Optimize memory-checking openings for 0s and 1s
Browse files Browse the repository at this point in the history
  • Loading branch information
moodlezoup committed Nov 12, 2024
1 parent 9f0b9e6 commit 62873a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion jolt-core/src/jolt/vm/timestamp_range_check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ where
.zip(timestamp_openings.openings_mut().into_par_iter()),
)
.for_each(|(poly, opening)| {
let claim = poly.evaluate_at_chi(&chis);
let claim = poly.evaluate_at_chi_low_optimized(&chis);
*opening = claim;
});

Expand Down
4 changes: 2 additions & 2 deletions jolt-core/src/lasso/memory_checking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ where
.zip_eq(exogenous_openings.openings_mut().into_par_iter()),
)
.for_each(|(poly, opening)| {
let claim = poly.evaluate_at_chi(&eq_read_write);
let claim = poly.evaluate_at_chi_low_optimized(&eq_read_write);
*opening = claim;
});

Expand All @@ -387,7 +387,7 @@ where
.par_iter()
.zip_eq(openings.init_final_values_mut().into_par_iter())
.for_each(|(poly, opening)| {
let claim = poly.evaluate_at_chi(&eq_init_final);
let claim = poly.evaluate_at_chi_low_optimized(&eq_init_final);
*opening = claim;
});

Expand Down

0 comments on commit 62873a6

Please sign in to comment.