xeenoon / ChessApp

0 stars 0 forks source link

Optimizations #11

Closed xeenoon closed 2 years ago

xeenoon commented 2 years ago

Made bitboard a struct

Cannot be realistically optimized more, there is ONE line of code that is taking up 60% of all processor time, cannot be easily fixed in C#, will implement changes in C++ version of the program.

image

Is the line of code in question, tried creating a constant readonly variable, however it just created a pointer and MODIFIED THE READONLY VARIABLE