You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Board.status only needs to check if there are legal moves or not, it is slow and pointless to calculate all legal moves, especially since this would often be in hot code areas (search/eval functions).
Perf says Board.status takes around a third of my engine's running time, so this is an issue.
Edit: Board.status takes around 20% of my engine's running time with this change.
The text was updated successfully, but these errors were encountered:
Since Board.status only needs to check if there are legal moves or not, it is slow and pointless to calculate all legal moves, especially since this would often be in hot code areas (search/eval functions).
Perf says Board.status takes around a third of my engine's running time, so this is an issue.
Edit: Board.status takes around 20% of my engine's running time with this change.
The text was updated successfully, but these errors were encountered: