http://qs321.pair.com?node_id=1015569


in reply to Re^2: Efficient bit counting with a twist.
in thread Efficient bit counting with a twist.

Oh. That. It's just force of habit, I adapted this bit of code from the way I code bitmasks for IPv4 subnets. It would make more sense to code it as pack 'C',... rather than pack 'V', although it works either way.