-
Notifications
You must be signed in to change notification settings - Fork 71
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
Change Eval Framework Copy
requirement to Clone
.
#834
base: dev
Are you sure you want to change the base?
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #834 +/- ##
=======================================
Coverage 92.58% 92.58%
=======================================
Files 89 89
Lines 12017 12018 +1
Branches 12017 12018 +1
=======================================
+ Hits 11126 11127 +1
+ Misses 784 781 -3
- Partials 107 110 +3 ☔ View full report in Codecov by Sentry. |
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 23 files reviewed, 2 unresolved discussions (waiting on @Alon-Ti and @shaharsamocha7)
crates/prover/src/constraint_framework/mod.rs
line 87 at r1 (raw file):
) -> [Self::EF; N] { let res_col_major = array::from_fn(|_| self.next_interaction_mask(interaction, offsets)); array::from_fn(|i| Self::combine_ef(res_col_major.clone().map(|c| c[i].clone())))
Suggestion: without clone
Suggestion:
let mut res_col_major =
array::from_fn(|_| self.next_interaction_mask(interaction, offsets).into_iter());
array::from_fn(|_| {
Self::combine_ef(res_col_major.each_mut().map(|iter| iter.next().unwrap()))
})
crates/prover/src/core/fields/mod.rs
line 100 at r1 (raw file):
+ Neg<Output = Self> + ComplexConjugate + Copy
Does this need to have Copy removed?
Code quote:
+ Copy
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 23 files reviewed, 3 unresolved discussions (waiting on @Alon-Ti and @andrewmilson)
a discussion (no related file):
Main change here is that we removed the Copy trait for Field?
Can you explain why is it better?
This change is