From 44833a0c01952555f8039e48c6c33e165828d4c3 Mon Sep 17 00:00:00 2001 From: Charles Chen Date: Fri, 16 Dec 2022 14:01:32 -0500 Subject: [PATCH] remove unncessary timer --- arithmetic/src/virtual_polynomial.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arithmetic/src/virtual_polynomial.rs b/arithmetic/src/virtual_polynomial.rs index 7c64c44..b1be41a 100644 --- a/arithmetic/src/virtual_polynomial.rs +++ b/arithmetic/src/virtual_polynomial.rs @@ -364,8 +364,6 @@ pub fn build_eq_x_r( /// over r, which is /// eq(x,y) = \prod_i=1^num_var (x_i * r_i + (1-x_i)*(1-r_i)) pub fn build_eq_x_r_vec(r: &[F]) -> Result, ArithErrors> { - let start = start_timer!(|| format!("build eq_x_r of size {}", r.len())); - // we build eq(x,r) from its evaluations // we want to evaluate eq(x,r) over x \in {0, 1}^num_vars // for example, with num_vars = 4, x is a binary vector of 4, then @@ -380,7 +378,6 @@ pub fn build_eq_x_r_vec(r: &[F]) -> Result, ArithErrors> { let mut eval = Vec::new(); build_eq_x_r_helper(r, &mut eval)?; - end_timer!(start); Ok(eval) } @@ -512,8 +509,6 @@ mod test { // over r, which is // eq(x,y) = \prod_i=1^num_var (x_i * r_i + (1-x_i)*(1-r_i)) fn build_eq_x_r_for_test(r: &[F]) -> Arc> { - let start = start_timer!(|| "zero check naive build eq_x_r"); - // we build eq(x,r) from its evaluations // we want to evaluate eq(x,r) over x \in {0, 1}^num_vars // for example, with num_vars = 4, x is a binary vector of 4, then @@ -546,7 +541,6 @@ mod test { let mle = DenseMultilinearExtension::from_evaluations_vec(num_var, eval); let res = Arc::new(mle); - end_timer!(start); res } }