Re:Low Level Bit Hacks You Absolutely Must Know
by sgk284 on Wednesday July 01, 2009 @11:45AM
(#682823)
The best solution I know of is:
If there are k bits set out of n bits, it only does k iterations.
[ Parent
| on HN ]