mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-02 13:53:07 +00:00
chore: Remove TODOs about from_values taking a reference
This commit is contained in:
parent
37918cccfd
commit
e68195fc0d
@ -722,8 +722,6 @@ mod tests {
|
||||
stark.generate_trace(input, 8, &mut timing)
|
||||
);
|
||||
|
||||
// TODO: Cloning this isn't great; consider having `from_values` accept a reference,
|
||||
// or having `compute_permutation_z_polys` read trace values from the `PolynomialBatch`.
|
||||
let cloned_trace_poly_values = timed!(timing, "clone", trace_poly_values.clone());
|
||||
|
||||
let trace_commitments = timed!(
|
||||
|
||||
@ -102,8 +102,6 @@ where
|
||||
timing,
|
||||
&format!("compute trace commitment for {:?}", table),
|
||||
PolynomialBatch::<F, C, D>::from_values(
|
||||
// TODO: Cloning this isn't great; consider having `from_values` accept a reference,
|
||||
// or having `compute_permutation_z_polys` read trace values from the `PolynomialBatch`.
|
||||
trace.clone(),
|
||||
rate_bits,
|
||||
false,
|
||||
|
||||
@ -55,8 +55,6 @@ where
|
||||
timing,
|
||||
"compute trace commitment",
|
||||
PolynomialBatch::<F, C, D>::from_values(
|
||||
// TODO: Cloning this isn't great; consider having `from_values` accept a reference,
|
||||
// or having `compute_permutation_z_polys` read trace values from the `PolynomialBatch`.
|
||||
trace_poly_values.clone(),
|
||||
rate_bits,
|
||||
false,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user