Re:Iterating over Bit Sets Quickly
by Robin_Message on Monday February 26, 2024 @02:59PM
(#39516101)
Thank you! And thanks for suggesting and checking Math.clz32, it makes sense that would be fast as it's a single instruction vs a pile of bit twiddling.
I wonder what OP was measuring.