Closed Zuuki closed 4 years ago
The assignee will have to optimize the two_pow(int power) function to decrease its complexity.
This function is contained in src/utils/utils.cc
With the bitboard we will only be dealing with power of two so we don't have to generalise this function for every power possible
Actually I was a bit retarded, as we are only working with power of two, I forgot that we just could use bit manipulation, now it is much optimised
The assignee will have to optimize the two_pow(int power) function to decrease its complexity.
This function is contained in src/utils/utils.cc
With the bitboard we will only be dealing with power of two so we don't have to generalise this function for every power possible