-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert logup without is_first #818
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @shaharsamocha7 and the rest of your teammates on Graphite |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #818 +/- ##
==========================================
- Coverage 92.76% 92.73% -0.03%
==========================================
Files 89 89
Lines 12041 12033 -8
Branches 12041 12033 -8
==========================================
- Hits 11170 11159 -11
- Misses 764 767 +3
Partials 107 107 ☔ View full report in Codecov by Sentry. |
16e17f4
to
a3a9330
Compare
a3a9330
to
1d55732
Compare
1d55732
to
6272714
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 0 of 8 files reviewed, 1 unresolved discussion (waiting on @Alon-Ti and @shaharsamocha7)
crates/prover/src/constraint_framework/logup.rs
line 71 at r3 (raw file):
// Fix `prev_row_cumsum` by subtracting `claimed_sum` if this is the first row. let fixed_prev_row_cumsum = prev_row_cumsum - self.is_first * self.claimed_sum; let diff = cur_cumsum - fixed_prev_row_cumsum - self.prev_col_cumsum;
Isn't it more efficient how it was before?
Code quote:
// Fix `prev_row_cumsum` by subtracting `claimed_sum` if this is the first row.
let fixed_prev_row_cumsum = prev_row_cumsum - self.is_first * self.claimed_sum;
let diff = cur_cumsum - fixed_prev_row_cumsum - self.prev_col_cumsum;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 0 of 8 files reviewed, 1 unresolved discussion (waiting on @Alon-Ti and @andrewmilson)
crates/prover/src/constraint_framework/logup.rs
line 71 at r3 (raw file):
Previously, andrewmilson (Andrew Milson) wrote…
Isn't it more efficient how it was before?
It was (by a bit), but I wanted to add the is_first column for the padding feature and wanted those to use the same mechanism
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 4 of 7 files at r1, 4 of 4 files at r3, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @andrewmilson)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @shaharsamocha7)
This change is