]> git.sesse.net Git - stockfish/commitdiff
Remove condition on killers in history pruning
authorVoyagerOne <excelgeek@gmail.com>
Sat, 27 Aug 2016 17:21:06 +0000 (13:21 -0400)
committerMarco Costalba <mcostalba@gmail.com>
Tue, 30 Aug 2016 07:09:55 +0000 (09:09 +0200)
Now allows main killer to be history prune.

STC:
LLR: 2.94 (-2.94,2.94) [-3.00,1.00]
Total: 15852 W: 2910 L: 2781 D: 10161

LTC:
LLR: 2.96 (-2.94,2.94) [-3.00,1.00]
Total: 56428 W: 7610 L: 7537 D: 41281

Bench: 8032058

src/search.cpp

index cf7e411d8504e2c2cba05869d91aaccdafcd137a..9dfa5193e99fd3e2e16889e6182470700aba58fa 100644 (file)
@@ -935,7 +935,6 @@ moves_loop: // When in check search starts from here
 
           // Countermoves based pruning
           if (   predictedDepth < 3 * ONE_PLY
-              && move != ss->killers[0]
               && (!cmh  || (*cmh )[moved_piece][to_sq(move)] < VALUE_ZERO)
               && (!fmh  || (*fmh )[moved_piece][to_sq(move)] < VALUE_ZERO)
               && (!fmh2 || (*fmh2)[moved_piece][to_sq(move)] < VALUE_ZERO || (cmh && fmh)))