[Python-Dev] [ python-Patches-876206 ] scary frame speed hacks (original) (raw)
Guido van Rossum guido at python.org
Tue Mar 2 11:00:09 EST 2004
- Previous message: [Python-Dev] [ python-Patches-876206 ] scary frame speed hacks
- Next message: [Python-Dev] [ python-Patches-876206 ] scary frame speed hacks
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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/)
- Previous message: [Python-Dev] [ python-Patches-876206 ] scary frame speed hacks
- Next message: [Python-Dev] [ python-Patches-876206 ] scary frame speed hacks
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]