check the number of call, not the time
try to remove some
Code: Select all
[MethodImpl(MethodImplOptions.AggressiveInlining)]converting to byte is kind of a code smell to me, why? accessing array with ulong is also weird but i'm not yet using bitboard, maybe it's necessary
jagged array is better than multi dimensional array but what is even better is one array with offset (please profile)
in your isattacked, i assume this might be to see if the king is in check, try to change the order to queen, rook, bishop, knight, pawn, king
i assume all these are inlining? again try to see the impact by removing it
do you build in 32 bit or 64 bit?


