Psyco on 64-bit machines

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


On Thu, Nov 12, 2009 at 12:06 PM, Russ P. <russ.paielli at gmail.com> 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.
> --
> http://mail.python.org/mailman/listinfo/python-list
>

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).

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20091112/e9b857a7/attachment.html>


More information about the Python-list mailing list