Skip to content

Commit 1b31e26

Browse files
locutus2vondele
authored andcommitted
Consider more nodes as ttPv nodes.
Remove depth condition in propagation rule for ttPv state from a node to it childs. Because this change marks more nodes as ttPv, we have a time sensitive ttPv reduction rule and the STC snd LTC seems to show bad scaling. So i have also submitted a VLTC non-regression to check the scaling at higher time control. The results gives a little indication that we have perhaps good scaling with more ttPv nodes so that could be further explored. Passed non-regression STC: LLR: 2.95 (-2.94,2.94) <-1.75,0.25> Total: 82528 W: 21627 L: 21453 D: 39448 Ptnml(0-2): 317, 9809, 20891, 9877, 370 https://tests.stockfishchess.org/tests/view/678e608cd63764e34db49ad7 Passed non-regression LTC: LLR: 2.94 (-2.94,2.94) <-1.75,0.25> Total: 310440 W: 78879 L: 78956 D: 152605 Ptnml(0-2): 255, 34915, 84938, 34876, 236 https://tests.stockfishchess.org/tests/view/678fab89ac8f8f5496155f3c Passed non-regression VLTC for scaling verification: LLR: 2.95 (-2.94,2.94) <-1.75,0.25> Total: 59496 W: 15158 L: 14983 D: 29355 Ptnml(0-2): 15, 6039, 17470, 6204, 20 https://tests.stockfishchess.org/tests/view/6794bd1f4f7de645171fb33b closes #5819 Bench: 1829507
1 parent 889fed4 commit 1b31e26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/search.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1417,7 +1417,7 @@ Value Search::Worker::search(
14171417
// If no good move is found and the previous position was ttPv, then the previous
14181418
// opponent move is probably good and the new position is added to the search tree.
14191419
if (bestValue <= alpha)
1420-
ss->ttPv = ss->ttPv || ((ss - 1)->ttPv && depth > 3);
1420+
ss->ttPv = ss->ttPv || (ss - 1)->ttPv;
14211421

14221422
// Write gathered information in transposition table. Note that the
14231423
// static evaluation is saved as it was before correction history.

0 commit comments

Comments
 (0)