Skip to content

Commit

Permalink
finish with prefetch
Browse files Browse the repository at this point in the history
  • Loading branch information
shamatar committed Jul 13, 2019
1 parent 07ca2e8 commit 4bf78bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]}
Expand Down
4 changes: 2 additions & 2 deletions tests/mimc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4bf78bb

Please sign in to comment.