lynx-chess / Lynx

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

🧹 Speed up magic number generation #982

Closed eduherminio closed 1 week ago

eduherminio commented 1 week ago

Avoid heap llocations during magic number generation, improving generation time. Not that I'm generating them on the fly, (or even using the magics generated from it, gotta fix this BTW)