Prime number module
Lulu of the Lotus-Eaters
mertz at gnosis.cx
Tue Sep 30 17:46:13 EDT 2003
|Lulu of the Lotus-Eaters wrote:
|> Along those lines, what's the quickest way to count bits in Python?
Alex Martelli <aleax at aleax.it> wrote previously:
|Probably gmpy's popcount function.
What about fast AND portable?
(I'm sure gmpy can be installed lots of places, but not necessarily by
receivers of Python code).
Yours, Lulu...
--
_/_/_/ THIS MESSAGE WAS BROUGHT TO YOU BY: Postmodern Enterprises _/_/_/
_/_/ ~~~~~~~~~~~~~~~~~~~~[mertz at gnosis.cx]~~~~~~~~~~~~~~~~~~~~~ _/_/
_/_/ The opinions expressed here must be those of my employer... _/_/
_/_/_/_/_/_/_/_/_/_/ Surely you don't think that *I* believe them! _/_/
More information about the Python-list
mailing list