[Python-Dev] [ python-Patches-876206 ] scary frame speed hacks
Greg Ewing
greg at cosc.canterbury.ac.nz
Tue Mar 2 19:29:00 EST 2004
Tim Peters <tim.one at comcast.net>:
> BTW, if a gazillion distinct functions run when starting up a large app, do
> we hang on to the memory for their gazillion distinct frames forever?
If you have a gazillion distinct functions in memory at
once, you've got a gazillion code objects, plus associated
function objects, arg name tuples, etc... Adding a stack
frame to each of these probably won't make a huge difference,
relatively speaking.
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury, | A citizen of NewZealandCorp, a |
Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. |
greg at cosc.canterbury.ac.nz +--------------------------------------+
More information about the Python-Dev
mailing list