[Pythonmac-SIG] Speed up Python on the Mac?

Louis Pecora pecora at anvil.nrl.navy.mil
Tue Dec 6 18:39:10 CET 2005

Brian Ray wrote:

> 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 
> <http://orca.mojam.com/%7Eskip/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
> http://brianray.chipy.org

Thanks for the tips, Brian.  Wish I had that Intel Chip Mac Powerbook 
now.  :-)


Lou Pecora

Code 6362
Naval Research Lab
Washington, DC  20375
Ph:  +202-767-6002
email:  pecora at anvil.nrl.navy.mil

More information about the Pythonmac-SIG mailing list