mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-08 16:53:07 +00:00
cargo fix
This commit is contained in:
parent
236a143abf
commit
a42bec0354
@ -1,4 +1,4 @@
|
||||
use criterion::{criterion_group, criterion_main, BatchSize, BenchmarkId, Criterion};
|
||||
use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion};
|
||||
use plonky2::field::crandall_field::CrandallField;
|
||||
use plonky2::field::fft::FftStrategy;
|
||||
use plonky2::field::field_types::Field;
|
||||
|
||||
@ -23,7 +23,7 @@ pub(crate) fn bench_field<F: Field>(c: &mut Criterion) {
|
||||
c.bench_function(&format!("mul-latency<{}>", type_name::<F>()), |b| {
|
||||
b.iter_batched(
|
||||
|| F::rand(),
|
||||
|(mut x)| {
|
||||
|mut x| {
|
||||
for _ in 0..100 {
|
||||
x = x * x;
|
||||
}
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
use crate::field::crandall_field::CrandallField;
|
||||
|
||||
use crate::field::field_types::Field;
|
||||
use crate::field::packed_field::{PackedField, Singleton};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user