]> git.sesse.net Git - stockfish/commitdiff
Simplify PvNode Reduction
authorMuzhen Gaming <61100393+XInTheDark@users.noreply.github.com>
Sun, 13 Aug 2023 14:02:17 +0000 (22:02 +0800)
committerDisservin <disservin.social@gmail.com>
Wed, 16 Aug 2023 19:24:58 +0000 (21:24 +0200)
Remove the depth condition for PvNode reduction.

Simplification STC:
https://tests.stockfishchess.org/tests/view/64d308fa5b17f7c21c0e0303
LLR: 2.93 (-2.94,2.94) <-1.75,0.25>
Total: 38976 W: 10106 L: 9889 D: 18981
Ptnml(0-2): 129, 4479, 10040, 4726, 114

Simplification LTC:
https://tests.stockfishchess.org/tests/view/64d457db5b17f7c21c0e236f
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 156402 W: 39727 L: 39645 D: 77030
Ptnml(0-2): 71, 17143, 43696, 17215, 76

closes https://github.com/official-stockfish/Stockfish/pull/4747

Bench: 1493904

src/search.cpp

index 697c8cfed1f3100eb25f80b7ab43cbb50c6c87fa..c7e6fff053c7778cb469d6a4b1c9841279596783 100644 (file)
@@ -1136,9 +1136,9 @@ moves_loop: // When in check, search starts here
       if (ttCapture)
           r++;
 
-      // Decrease reduction for PvNodes based on depth (~2 Elo)
+      // Decrease reduction for PvNodes (~2 Elo)
       if (PvNode)
-          r -= 1 + (depth < 6);
+          r--;
 
       // Decrease reduction if ttMove has been singularly extended (~1 Elo)
       if (singularQuietLMR)