smaller tt entry | bench 150493
This commit is contained in:
1 parent
3b79f22ec7
commit
56b00e290d
3 files changed
+21
-9
No files matched your search
+2
-2
@@ -300,7 +300,7 @@ static SearchResults Quiescence(Board& board, int alpha, int beta, int ply, Sear
|
||||
bool ttHit = false;
|
||||
entry = ctx->TT->GetEntry(board.hashKey);
|
||||
|
||||
if (entry.hashKey == board.hashKey) {
|
||||
if (entry.hashKey == PackHashKey(board.hashKey)) {
|
||||
ttHit = true;
|
||||
|
||||
switch (entry.nodeType) {
|
||||
@@ -423,7 +423,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
|
||||
if (!ctx->excluded)
|
||||
entry = ctx->TT->GetEntry(board.hashKey);
|
||||
|
||||
const bool ttHit = entry.hashKey == board.hashKey;
|
||||
const bool ttHit = entry.hashKey == PackHashKey(board.hashKey);
|
||||
const bool ttpv = isPV | entry.ttpv;
|
||||
|
||||
if constexpr (!isPV) {
|
||||
|
||||
Reference in new issue
Block a user