Closed moodlezoup closed 6 months ago
https://github.com/a16z/jolt/blob/main/jolt-core/src/poly/eq_poly.rs
Currently the function signature is pub fn evals(&self) -> Vec<F> If we change this to pub fn evals(r: &[F]) -> Vec<F>, we should be able to avoid some unnecessary cloning throughout the codebase.
pub fn evals(&self) -> Vec<F>
pub fn evals(r: &[F]) -> Vec<F>
hi, @moodlezoup , I've submitted a pr. Please review
https://github.com/a16z/jolt/blob/main/jolt-core/src/poly/eq_poly.rs
Currently the function signature is
pub fn evals(&self) -> Vec<F>
If we change this topub fn evals(r: &[F]) -> Vec<F>
, we should be able to avoid some unnecessary cloning throughout the codebase.