reduce less if pv node | bench 9411909 #95

Merged
rektdie merged 1 commits from pv-less-lmr into main 2025-08-30 01:48:42 +02:00
Showing only changes of commit 9bb603200c - Show all commits
+3
View File
@@ -156,6 +156,9 @@ static int GetReductions(Board &board, Move &move, int depth, int moveSeen, int
if (cutnode) if (cutnode)
reduction += 2; reduction += 2;
if constexpr (isPV)
reduction--;
// History LMR // History LMR
int historyReduction = ctx->history[board.sideToMove][move.MoveFrom()][move.MoveTo()]; int historyReduction = ctx->history[board.sideToMove][move.MoveFrom()][move.MoveTo()];