PGG106 / Alexandria

bitboard chess engine
GNU General Public License v3.0
97 stars 26 forks source link

Use a specialized makemove function for each movetype #398

Closed PGG106 closed 6 months ago

PGG106 commented 6 months ago

This is one of the worst pieces of code i have ever written, it greatly increases code duplication for the sake of removing some branching, sadly this gains Elo Elo | 1.69 +- 1.85 (95%) SPRT | 8.0+0.08s Threads=1 Hash=16MB LLR | 2.95 (-2.94, 2.94) [0.00, 3.00] Games | N: 63340 W: 15081 L: 14772 D: 33487 Penta | [200, 7047, 16859, 7372, 192]