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
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
In reply to Re: How to do popcount (aka Hamming weight) in Perl
by LanX
in thread How to do popcount (aka Hamming weight) in Perl (popcount References)
by eyepopslikeamosquito
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |