You may enjoy this page then. https://graphics.stanford.edu/~seander/bithacks.html
Bunches of bit twiddling things people like to do in different places for either speed/space.
Bunches of bit twiddling things people like to do in different places for either speed/space.
I am aware of the bithacks page, but I just found encoding the bit coordinate in the ID itself so clever.
"Lol, this is the obvious implementation."
or
"Lol, just use a boolean."
That is to say, those that might be interested would already know. I'd expect very little in between.
Fwiw, I do think noticing the id readability is notable from a reverse engineering standpoint.