Usage of FLIP array
I was reading through the Rustic book and noticed the FLIP array which flips squares from white to black and vice versa. XORing the square by 56 accomplishes the same thing (I don't remember where I read this, I think the Chessprogramming wiki? I can't find it right now though), would this be faster?
This could very well be faster; an XOR operation is faster than an array lookup, all other things being equal. I'll leave this issue open so I can keep this in mind. My current development version will not include this, but in the version after that I'll test this. If it is faster, I'll replace the FLIP array.
Also, thanks for your interest in Rustic. (Even though development has been very slow for the last few years, it is not halted. It will never be, because this is a never-ending hobby project.)
pub const fn flip(side: Side, square: Square) -> usize {
square ^ (side as usize * 56)
}