finish with prefetch

This commit is contained in:
Alex Vlasov 2019-07-13 21:54:06 +03:00
parent 07ca2e83b6
commit 4bf78bb978
2 changed files with 3 additions and 2 deletions

@ -25,6 +25,7 @@ byteorder = "1"
futures-cpupool = {version = "0.1", optional = true}
num_cpus = {version = "1", optional = true}
crossbeam = {version = "0.7.1", optional = true}
prefetch = {version = "0.2", optional = true}
web-sys = {version = "0.3.17", optional = true, features = ["console", "Performance", "Window"]}

@ -38,9 +38,9 @@ use bellman_ce::groth16::{
verify_proof,
};
// const MIMC_ROUNDS: usize = 322;
const MIMC_ROUNDS: usize = 322;
const MIMC_ROUNDS: usize = 1000000;
// const MIMC_ROUNDS: usize = 1000000;
/// This is an implementation of MiMC, specifically a
/// variant named `LongsightF322p3` for BLS12-381.