summaryrefslogtreecommitdiff
path: root/model/benches/bitboard.rs
diff options
context:
space:
mode:
authorMicha White <botahamec@outlook.com>2023-10-03 22:09:03 -0400
committerMicha White <botahamec@outlook.com>2023-10-03 22:09:03 -0400
commit2763381eefa80623af41e7f799dc17f0e38dfcae (patch)
tree1c837c4b4521112f96d7d19c0a9a18595fac2ef6 /model/benches/bitboard.rs
parentdc20b764d34a82df88ad59be5fd56f01b56cabc4 (diff)
Fix bug with move generation jumps
Diffstat (limited to 'model/benches/bitboard.rs')
-rw-r--r--model/benches/bitboard.rs2
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) {