]> git.sesse.net Git - stockfish/commitdiff
Remove Capture history pruning
authorbmc4 <bmc4@cin.ufpe.br>
Mon, 20 Dec 2021 11:08:09 +0000 (08:08 -0300)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Tue, 21 Dec 2021 12:42:33 +0000 (13:42 +0100)
Fixed number of games. (book: 8moves_v3.png):
ELO: -0.69 +-1.8 (95%) LOS: 22.1%
Total: 20000 W: 1592 L: 1632 D: 16776
Ptnml(0-2): 44, 1194, 7566, 1150, 46
https://tests.stockfishchess.org/tests/view/61bb8eb657a0d0f327c30ce8

STC:
LLR: 2.94 (-2.94,2.94) <-2.25,0.25>
Total: 139976 W: 36039 L: 36036 D: 67901
Ptnml(0-2): 435, 16138, 36885, 16049, 481
https://tests.stockfishchess.org/tests/view/61be731857a0d0f327c39ea2

LTC:
LLR: 2.95 (-2.94,2.94) <-2.25,0.25>
Total: 70656 W: 18284 L: 18189 D: 34183
Ptnml(0-2): 34, 7317, 20529, 7416, 32
https://tests.stockfishchess.org/tests/view/61bf39b657a0d0f327c3c37b

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

bench: 4281737

src/search.cpp

index eb0ac5bbd02c856c2a9d85989af21f22eafcacf5..988166df9bb1682a6094654853c7f7c5b77239c3 100644 (file)
@@ -1031,12 +1031,6 @@ moves_loop: // When in check, search starts here
           if (   captureOrPromotion
               || givesCheck)
           {
-              // Capture history based pruning when the move doesn't give check
-              if (   !givesCheck
-                  && lmrDepth < 1
-                  && captureHistory[movedPiece][to_sq(move)][type_of(pos.piece_on(to_sq(move)))] < 0)
-                  continue;
-
               // Futility pruning for captures
               if (   !pos.empty(to_sq(move))
                   && !givesCheck