Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
zokier
on Aug 17, 2009
|
parent
|
context
|
favorite
| on:
Python performance is a fool's errand
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.
ivan_i
on Aug 17, 2009
[–]
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: