On Feb 3, 2006, at 9:20 AM, Adrian Holovaty wrote:
Thanks for this patch. I've added it to trunk. My only concern is that the Psyco Web page says "[t]here are some subtle semantic differences (i.e. bugs) with the way Python works; they should not be apparent in most programs." Perhaps some of Django's current magic, implemented by advanced features such as metaclasses, could trigger these subtle bugs. Keep us posted on the results of your tests.
Also note this caveat from the psyco requirements (http:// psyco.sourceforge.net/psycoguide/req.html): "Psyco does not support the 64-bit x86 architecture".
I missed that warning when I gave psyco a try this morning on our Opterons and saw about a 50% performance *decrease* -- psyco forces Python to run in i386 compat mode, which seriously slows things down.
Jacob