Merge pull request #39 from rektdie/qs_tt_read
Qs tt read bench 3451231
This commit was merged in pull request #39.
This commit is contained in:
1 file changed
+7
-1
+7
-1
@@ -138,7 +138,13 @@ static SearchResults Quiescence(Board board, int alpha, int beta, int ply) {
|
||||
|
||||
int bestScore = HCE::Evaluate(board);
|
||||
|
||||
if (bestScore>= beta) {
|
||||
TTEntry *entry = TT.GetRawEntry(board.hashKey);
|
||||
if (entry->hashKey == board.hashKey) {
|
||||
bestScore = entry->score;
|
||||
}
|
||||
|
||||
|
||||
if (bestScore >= beta) {
|
||||
return bestScore;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user