]> git.sesse.net Git - stockfish/commit
Cleanup of likelyFailLow logic
authorVizvezdenec <Vizvezdenec@gmail.com>
Wed, 5 May 2021 16:03:20 +0000 (19:03 +0300)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Fri, 7 May 2021 07:47:17 +0000 (09:47 +0200)
commitd777ea79fff0f651bd948c881946cd06bebd9381
tree916b4b179138e84f5149b9ecd870a07d9fa28d1d
parentca250e969c9d235b2d8be1d5d088b8834aa374b9
Cleanup of likelyFailLow logic

This patch broadens and simplifies definition of PvNode that is likely to fail low.
New definition can be described as following "If node was already researched
at depth >= current depth and failed low there" which is more logical than the
previous version and takes less space + allows to not recompute it every time during move loop.

Passed simplification STC
https://tests.stockfishchess.org/tests/view/609148bf95e7f1852abd2e82
LLR: 2.93 (-2.94,2.94) <-2.50,0.50>
Total: 20128 W: 1865 L: 1751 D: 16512
Ptnml(0-2): 63, 1334, 7165, 1430, 72

Passed simplification LTC
https://tests.stockfishchess.org/tests/view/6091691295e7f1852abd2e8b
LLR: 2.94 (-2.94,2.94) <-2.50,0.50>
Total: 95128 W: 3498 L: 3481 D: 88149
Ptnml(0-2): 41, 2956, 41549, 2981, 37

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

Bench: 3933037
src/search.cpp