orochimaru icon indicating copy to clipboard operation
orochimaru copied to clipboard

[zkMemory] Use rayon in zkMemory and polynomial evaluation

Open chiro-hiro opened this issue 1 year ago • 2 comments

Rayon and Tokio could be used to improve these kind of code.

        // Evaluate the values p_i(x_i) for i=1,2,...,n and add to the transcript
        for (poly, point) in polynomial_list.iter().zip(&points_list) {
            transcript
                .write_scalar(eval_polynomial(poly, *point))
                .unwrap();
        }

chiro-hiro avatar Dec 04 '23 05:12 chiro-hiro