implemented transposition table
This commit is contained in:
parent
ea9419d7e0
commit
42816a6939
13 changed files with 464 additions and 91 deletions
|
|
@ -1,8 +1,10 @@
|
|||
use chess_engine::board::Board;
|
||||
use criterion::{criterion_group, criterion_main, Criterion};
|
||||
use chess_engine::eval::basic::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