Instead of manually counting set bits, use gcc's `__builtin_popcount()` for a - supposedly - more efficient count. Also initialize the counter to zero, while there. Fixes #11. Signed-off-by: Gergely Nagy <algernon@keyboard.io>pull/427/head^2
parent
e0498c52b3
commit
56fdd2c555
Loading…
Reference in new issue