[Python-Dev] [ python-Patches-876206 ] scary frame speed hacks

Skip Montanaro skip at pobox.com
Tue Mar 2 12:35:00 EST 2004


    Tim> [Skip]
    >> Why not a list of pre-made frames for each code block (default length
    >> 1)?

    Tim> Or, IOW, per-code-block frame freelists (plural).  Recursive
    Tim> generators have gotten quite popular in my code <wink>.

Yeah.  I don't know how to handle the memory release issues, but it seems
cleaner to me to do things just one way instead of having both a single
per-code block frame *and* a general-purpose frame free list.

Skip



More information about the Python-Dev mailing list