Delan Azabani

Bit Twiddling Hacks

 27 words 0 min  chain

More elegant branchless || bitwise optimisations than you can peek && poke at. Includes interesting morsels of beauty for bit reversal, clearing, counting, swapping, testing and interleaving.