On Dec 6, 2005, at 11:07 AM, Louis Pecora wrote:

I see there are many other approaches (SWIG, Pyrex, Psyco -- some may 

not be available on the Mac), so I thought I would start here to ask 

what people in this email list use and recommend. 



Rewriting as "C" extensions is a good approach. But as you already said, it may be time consuming. Maybe break the program in small chunks to see where the bottle neck really exists. If your looking for the culprit, I would recommend taking a look at hotshot <http://docs.python.org/lib/module-hotshot.html>.

Although it's part of the standard modules, some people do not realize it exists. I found this and other performance tips on Skip's site <http://orca.mojam.com/~skip/python/fastpython.html>.

Regardless, sounds like you already know the culprit. 

Although this will not help you know, I have been told, Pycho <http://psyco.sourceforge.net/> will run on the Intel Chip.

hth, Brian Ray
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to