Perl: the Markov chain saw | |
PerlMonks |
Re: How to do popcount (aka Hamming weight) in Perlby LanX (Saint) |
on Sep 24, 2017 at 12:58 UTC ( [id://1199993]=note: print w/replies, xml ) | Need Help?? |
> unpack('%32b*' so Perl has already a specialized command for this! (cool) but why do you need > pack('Q' then? If it's some kind of normalization, why do you need to benchmark it too instead of keeping the data in that format?
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|