KYLChiu / sporkfish

Chess engine in Python
MIT License
5 stars 0 forks source link

[Feature] Improve MVV-LVA performance #101

Closed KYLChiu closed 7 months ago

KYLChiu commented 7 months ago

practically all moves have to and from squares, so checking them before checking captures is not ideal. Checking if captures first could reduce the number of calls to piece_at.