all() is slow?
OKB (not okblacke)
brenNOSPAMbarn at NObrenSPAMbarn.net
Thu Nov 10 14:35:29 EST 2011
John Nagle wrote:
> On 11/7/2011 1:00 PM, OKB (not okblacke) wrote:
>> I noticed this (Python 2.6.5 on Windows XP):
>
> CPython is slow. It's a naive interpreter. There's
> almost no optimization during compilation. Try PyPy
> or Shed Skin.
PyPy is interesting, but I use various libraries that make use of C
extension modules. I'm not going to compile them all myself, which is
apparently what I would need to do for PyPy. PyPy or other
implementations won't work for me unless they're completely drop-in
replacements for the interpreter.
--
--OKB (not okblacke)
Brendan Barnwell
"Do not follow where the path may lead. Go, instead, where there is
no path, and leave a trail."
--author unknown
More information about the Python-list
mailing list