lynx-chess / Lynx

Chess Engine, written in C#
https://lichess.org/@/Lynx_BOT
MIT License
47 stars 4 forks source link

⚡ Flatten all Engine arrays, pin them while allocating them and pass whole `Move` around #943

Closed eduherminio closed 2 months ago

eduherminio commented 2 months ago

See also #942

Test  | flatten-and-gc-allocate-everything-2
Elo   | -5.75 +- 4.87 (95%)
SPRT  | 8.0+0.08s Threads=1 Hash=32MB
LLR   | -2.26 (-2.25, 2.89) [-3.00, 1.00]
Games | 9306: +2600 -2754 =3952
Penta | [282, 1187, 1845, 1081, 258]
https://openbench.lynx-chess.com/test/651/