From 80cee11b945c57de78b8eadad4da88c7145093f3 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sun, 27 Aug 2023 01:40:53 +0300 Subject: feat: display hashfull info --- src/grossmeister/search.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/grossmeister/search.rs b/src/grossmeister/search.rs index 6b2048d..281352e 100644 --- a/src/grossmeister/search.rs +++ b/src/grossmeister/search.rs @@ -214,6 +214,7 @@ impl Grossmeister { let mut root_killers: Vec = Vec::new(); while depth <= max_depth { + println!("info hashfull {}", 1000 * self.transposition_table.iter().filter(|item| item.is_some()).count() / self.transposition_table.len()); println!("info depth {}", depth); if self.debug { println!("info string window {:?}", (alpha, beta)); -- cgit v1.2.3