inline function call
Rocco Moretti
roccomoretti at hotpop.com
Wed Jan 4 10:31:56 EST 2006
Riko Wichmann wrote:
> hi everyone,
>
> I'm googeling since some time, but can't find an answer - maybe because
> the answer is 'No!'.
>
> Can I call a function in python inline, so that the python byte compiler
> does actually call the function, but sort of inserts it where the inline
> call is made? Therefore avoiding the function all overhead.
The cannonical answer is "you probably don't need to do that."
If you're still set on inlining functions, take a look at bytecodehacks:
http://bytecodehacks.sourceforge.net/
More information about the Python-list
mailing list