[Python-Dev] [ python-Patches-876206 ] scary frame speed hacks
Guido van Rossum
guido at python.org
Tue Mar 2 11:00:09 EST 2004
> We are about to apply a patch that both speeds up frame allocation
> and make it simpler by removing the frame freelist (patch #876206).
> The drawback is that recursive functions would be slower now.
How come? Is it because of the deep nesting in your example, or
because of association of frames with function objects?
(Sorry, no time to read the patch.)
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-Dev