diff options
| author | Micha White <botahamec@outlook.com> | 2023-10-03 22:09:03 -0400 |
|---|---|---|
| committer | Micha White <botahamec@outlook.com> | 2023-10-03 22:09:03 -0400 |
| commit | 2763381eefa80623af41e7f799dc17f0e38dfcae (patch) | |
| tree | 1c837c4b4521112f96d7d19c0a9a18595fac2ef6 /model/benches/bitboard.rs | |
| parent | dc20b764d34a82df88ad59be5fd56f01b56cabc4 (diff) | |
Fix bug with move generation jumps
Diffstat (limited to 'model/benches/bitboard.rs')
| -rw-r--r-- | model/benches/bitboard.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/model/benches/bitboard.rs b/model/benches/bitboard.rs index 7f64f2e..18d1a84 100644 --- a/model/benches/bitboard.rs +++ b/model/benches/bitboard.rs @@ -5,7 +5,7 @@ use std::hash::Hash; fn clone(c: &mut Criterion) { let board = CheckersBitBoard::starting_position(); - c.bench_function("clone", |b| b.iter(|| black_box(board.clone()))); + c.bench_function("clone", |b| b.iter(|| black_box(board))); } fn hash(c: &mut Criterion) { |
