Early binding as an option

Stefan Behnel stefan_ml at behnel.de
Wed Aug 3 05:33:21 EDT 2011


Chris Angelico, 03.08.2011 00:08:
> So... Would this potentially produce wrong results? Would it be of any
> use, or would its benefit be only valued in times when the whole
> function needs to be redone in C?

Note that, in most cases, you do not need to "redo the whole function in 
C". You can just use Cython to compile it, thus leaving it in Python syntax 
and keeping up Python semantics, unless you decide to explicitly divert 
from them in favour of optimisations.

Stefan




More information about the Python-list mailing list