Psyco on 64-bit machines

Chris Kaynor ckaynor at
Thu Nov 12 21:40:57 CET 2009

On Thu, Nov 12, 2009 at 12:06 PM, Russ P. <russ.paielli at> wrote:

> I have a Python program that runs too slow for some inputs. I would
> like to speed it up without rewriting any code. Psyco seemed like
> exactly what I need, until I saw that it only works on a 32-bit
> architecture. I work in an environment of Sun Ultras that are all 64-
> bit. However, the Psyco docs say this:
> "Psyco does not support the 64-bit x86 architecture, unless you have a
> Python compiled in 32-bit compatibility mode."
> Would it make sense to compile Python in the 32-bit compatibility mode
> so I can use Psyco? What would I lose in that mode, if anything?
> Thanks.
> --

The only things you should lose by using a 32-bit version of Python is
access to the memory beyond the 4GB limit (approximate - the OS takes some
of that), and any compiled extension modules you cannot find or recompile
for 32-bit (.pyd on Windows - I think .so on Linux).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list