Tiny speedup for Cython, but it'll be a huge speed for the Python version.
Removing a python call to all(), which forced conversion of a ctuple to a python tuple, and removing white_diff and black_diff ctuple creation because I can fit all of their use cases into a single if statement.