Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
zokier
· 17y ago · 0 comments
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.
Comments
[–]
ivan_i
17y ago
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.