lynx-chess / Lynx

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

⚡ Remove `Position.MakeMoveCalculatingCapturedPiece`, using `Position.Board` instead #1021

Closed eduherminio closed 4 days ago

eduherminio commented 4 days ago

Simplification rather than speedup

Test  | perf/board-bitboard-remove-MakeMoveCalculatingCapturedPiece
Elo   | 0.42 +- 2.96 (95%)
SPRT  | 8.0+0.08s Threads=1 Hash=32MB
LLR   | 2.91 (-2.25, 2.89) [-5.00, 0.00]
Games | 22304: +6283 -6256 =9765
Penta | [542, 2533, 4970, 2570, 537]
https://openbench.lynx-chess.com/test/733/