lazy move generation
This commit is contained in:
parent
a93bfe258c
commit
a127815cad
11 changed files with 132 additions and 75 deletions
|
|
@ -1,10 +1,8 @@
|
|||
use chess_engine::board::Board;
|
||||
use criterion::{criterion_group, criterion_main, Criterion};
|
||||
use chess_engine::eval::evaluate_board;
|
||||
use chess_engine::zobrist::init_zobrist;
|
||||
|
||||
fn run_eval_benchmark(c: &mut Criterion) {
|
||||
init_zobrist();
|
||||
let board = Board::from_fen("rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1");
|
||||
c.bench_function("standard_board_evaluation", |b| {
|
||||
b.iter(|| {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue