Spezialize attackers_to
authorFabian Fichter <ianfab@users.noreply.github.com>
Sun, 29 Nov 2020 21:42:02 +0000 (22:42 +0100)
committerFabian Fichter <ianfab@users.noreply.github.com>
Sun, 29 Nov 2020 21:42:02 +0000 (22:42 +0100)
commit564b893378803dabf54935439c473a4d8dadcd87
tree3e4abf81078b66f2a01670086da62dd622dec04c
parent4346adf9c14fb5da699dfda094064a4dbc8c51a0
Spezialize attackers_to

Precalculate variant properties at startup to allow speedups
using optimizations for variants with standard chess pieces.

chess STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 999 W: 278 L: 200 D: 521
http://www.variantfishtest.org:6543/tests/view/5fc37df16e23db221d9e9430

No functional change.
src/position.cpp
src/variant.cpp
src/variant.h