AdamNiederer / faster

SIMD for humans
Mozilla Public License 2.0
1.56k stars 51 forks source link

Fix count_zeroes and optimized count_ones #55

Closed andersk closed 6 years ago

andersk commented 6 years ago

Use the size in bits, not bytes, in count_zeroes; use unsigned arithmetic in optimized count_ones. Fixes #54.