Cache legal capture state
authorFabian Fichter <ianfab@users.noreply.github.com>
Sun, 29 Nov 2020 20:25:22 +0000 (21:25 +0100)
committerFabian Fichter <ianfab@users.noreply.github.com>
Sun, 29 Nov 2020 20:25:22 +0000 (21:25 +0100)
commit4346adf9c14fb5da699dfda094064a4dbc8c51a0
treefa59a91473e1155844c09672d5653abb191c5193
parent1ae50e1a5b7261b3b8f0093900f808d81471f291
Cache legal capture state

Speed-up for variants with mandatory captures.

giveaway STC
LLR: 2.94 (-2.94,2.94) [0.00,10.00]
Total: 1873 W: 743 L: 637 D: 493
http://www.variantfishtest.org:6543/tests/view/5fc2239d6e23db221d9e9423

losers STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 1194 W: 577 L: 469 D: 148
http://www.variantfishtest.org:6543/tests/view/5fc223af6e23db221d9e9426

No functional change.
src/position.cpp
src/position.h
src/search.cpp
src/types.h