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

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Oct 10 02:33:42 CEST 2005


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?

-- 
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg.ewing at canterbury.ac.nz	   +--------------------------------------+


More information about the Python-Dev mailing list