You might not like it, but this is what peak compiler performance looks like.
@ela Or maybe a raw bitshift to take the last digit and check if its 0,2,4,6 or 8 :3