bitvector
bitvector copied to clipboard
Leverage math.bits.OneCount16, 32, etc.
This may be a good fit for Count.
Less code, benefits from present and future optimization from the stdlib.
I have not benchmarked.
This requires go >= 1.9, which should be fine for most.