Prime number module
Michael Hudson
mwh at python.net
Wed Oct 1 11:18:37 EDT 2003
More information about the Python-list mailing list
Wed Oct 1 11:18:37 EDT 2003
- Previous message (by thread): Prime number module
- Next message (by thread): Prime number module
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Alex Martelli <aleax at aleax.it> writes: > Lulu of the Lotus-Eaters wrote: > > > |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). > > Why not? gmpy's downloads include a self-contained .pyd for Windows > users (the ones who typically lack easy access to a C compiler) -- don't > most users of Linux, MacOs and other BSD's, etc, typically have gcc > available to install extensions if they want...? Or are you worrying > about the operations' availability to users of Jython...? I'm not sure "most" OS X installations have the dev tools installed. I'm not sure GMP has been ported to, e.g. VMS. > But from a pragmatic point of view, I'll keep using gmpy for the > foreseeable future, thanks;-). Well, sure. Cheers, mwh -- Hmmm... its Sunday afternoon: I could do my work, or I could do a Fourier analysis of my computer's fan noise. -- Amit Muthu, ucam.chat (from Owen Dunn's summary of the year)
- Previous message (by thread): Prime number module
- Next message (by thread): Prime number module
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list