Add log for soft limit reach, tweak values, clippy
This commit is contained in:
@@ -15,8 +15,7 @@ impl TranspositionTable {
|
||||
}
|
||||
|
||||
pub fn lookup(&self, zobrist_hash: ZobristHash) -> Option<&TTEntry> {
|
||||
self
|
||||
.positions
|
||||
self.positions
|
||||
.get((zobrist_hash.0 % self.size) as usize)
|
||||
.and_then(|entry| entry.as_ref())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user