liamt19 / Lizard

Chess engine written in C#
MIT License
31 stars 2 forks source link

Default to non-AOT compilation #52

Closed liamt19 closed 4 months ago

liamt19 commented 4 months ago

Reverts to non-AOT compilation by default, which is now faster apparently:

Elo   | 16.24 +- 5.63 (95%)
SPRT  | 4.0+0.04s Threads=1 Hash=16MB
LLR   | 2.95 (-2.94, 2.94) [0.00, 3.00]
Games | N: 4132 W: 1130 L: 937 D: 2065
Penta | [32, 359, 1096, 542, 37]
http://somelizard.pythonanywhere.com/test/1142/

Also added a few AggressiveInlining attributes in logical places. The changes to the Move classes properties (move.From, move.To, etc.) might be reverted in the future if it becomes annoying. Most of the speedup here comes from the non-AOT part, not the inlining.