]> git.sesse.net Git - stockfish/commit
Skip moves-loop pruning in qsearch if we have only pawns
authorcj5716 <125858804+cj5716@users.noreply.github.com>
Mon, 25 Sep 2023 05:18:05 +0000 (13:18 +0800)
committerDisservin <disservin.social@gmail.com>
Fri, 29 Sep 2023 20:28:34 +0000 (22:28 +0200)
commit660da1ca7b4c2c03dce03d14ef3496d9fb4aead2
tree606c89ed68a8b3e7c7e9b75bc316f56316536ab4
parent4f0fecad8a0f5258114f63f0ac0c905a54d65219
Skip moves-loop pruning in qsearch if we have only pawns

At first my idea was only to cover movecount and futility pruning, but
@peregrineshahin suggested to test it on all moves-loop pruning and it worked.

Passed STC:
LLR: 2.94 (-2.94,2.94) <0.00,2.00>
Total: 167968 W: 42970 L: 42480 D: 82518
Ptnml(0-2): 444, 18324, 46002, 18726, 488
https://tests.stockfishchess.org/tests/view/6511181a55b420c569d0d54c

Passed LTC:
LLR: 2.95 (-2.94,2.94) <0.50,2.50>
Total: 40794 W: 10496 L: 10182 D: 20116
Ptnml(0-2): 12, 4021, 12025, 4319, 20
https://tests.stockfishchess.org/tests/view/6512ccc4b3e74811c8aee86c

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

Bench: 1338472
src/search.cpp