]> git.sesse.net Git - stockfish/commitdiff
Simplify MCP in QS
authorVoyagerOne <excelgeek@gmail.com>
Tue, 25 Aug 2020 13:10:47 +0000 (09:10 -0400)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Wed, 26 Aug 2020 05:19:35 +0000 (07:19 +0200)
Simplify moveCount pruning in QS by removing depth dependency.

STC
LLR: 2.94 (-2.94,2.94) {-1.25,0.25}
Total: 42960 W: 4741 L: 4661 D: 33558
Ptnml(0-2): 218, 3574, 13804, 3678, 206
https://tests.stockfishchess.org/tests/view/5f42e3f75089a564a10d8493

LTC
LLR: 2.94 (-2.94,2.94) {-0.75,0.25}
Total: 66672 W: 3563 L: 3508 D: 59601
Ptnml(0-2): 71, 3064, 26996, 3149, 56
https://tests.stockfishchess.org/tests/view/5f4353285089a564a10d84d0

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

Bench: 4074430

src/search.cpp

index d6b611a31bb261d3573ea548cc180ec476cd4aed..cae8a6845626e7db07a3bd82a08332eac6322a04 100644 (file)
@@ -1526,7 +1526,7 @@ moves_loop: // When in check, search starts from here
           assert(type_of(move) != ENPASSANT); // Due to !pos.advanced_pawn_push
 
           // moveCount pruning
-          if (moveCount > abs(depth) + 2)
+          if (moveCount > 2)
               continue;
 
           futilityValue = futilityBase + PieceValue[EG][pos.piece_on(to_sq(move))];