<div class="gmail_quote">On Thu, Nov 12, 2009 at 12:06 PM, Russ P. <span dir="ltr"><<a href="mailto:russ.paielli@gmail.com">russ.paielli@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I have a Python program that runs too slow for some inputs. I would<br>
like to speed it up without rewriting any code. Psyco seemed like<br>
exactly what I need, until I saw that it only works on a 32-bit<br>
architecture. I work in an environment of Sun Ultras that are all 64-<br>
bit. However, the Psyco docs say this:<br>
<br>
"Psyco does not support the 64-bit x86 architecture, unless you have a<br>
Python compiled in 32-bit compatibility mode."<br>
<br>
Would it make sense to compile Python in the 32-bit compatibility mode<br>
so I can use Psyco? What would I lose in that mode, if anything?<br>
Thanks.<br>
<font color="#888888">--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</font></blockquote></div><div><br></div><div>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). </div>
<br><div>Chris</div>