[Python-Dev] Removing the block stack (was Re: PEP 343 and __with__)

Phillip J. Eby pje at telecommunity.com
Mon Oct 10 03:18:30 CEST 2005


At 01:33 PM 10/10/2005 +1300, Greg Ewing wrote:
>Phillip J. Eby wrote:
>
> > Clearly, the cost of function calls in Python lies somewhere else, and I'd
> > probably look next at parameter tuple allocation,
>
>For simple calls where there aren't any *args or other
>such complications, it seems like it should be possible
>to just copy the args from the calling frame straight
>into the called one.
>
>Or is this already done these days?

It's already done, if the number of arguments matches, the code flags are 
just so, etc.



More information about the Python-Dev mailing list