Re:Python performance is a fool's errand
by zokier on Monday August 17, 2009 @01:13PM
(#768548)
Python is designed to be easily extended with C. If you need performance then write those performance-critical parts in C and write lightweight wrapper to python.
[ Parent
| on HN ]
Or write speed-critical Python iterator directly in C.
Python source is the best reference: http://svn.python.org/view/python/trunk/Objects/dictobject.c... (look at the end).
Python/C API rules.