Add GHA, small clean

This commit is contained in:
arnau
2020-09-29 20:08:54 +02:00
committed by arnaucube
parent c89a44623d
commit df8530c24d
6 changed files with 22 additions and 28 deletions

View File

@@ -20,7 +20,7 @@ fn criterion_benchmark(c: &mut Criterion) {
big_arr.push(b2.clone());
let mimc7 = Mimc7::new();
c.bench_function("hash", |b| b.iter(|| mimc7.hash(big_arr.clone()).unwrap()));
c.bench_function("hash", |b| b.iter(|| mimc7.hash(big_arr.clone())));
}
criterion_group!(benches, criterion_benchmark);