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

Michael Hudson mwh at python.net
Wed Mar 3 13:27:40 EST 2004


"Phillip J. Eby" <pje at telecommunity.com> writes:

> Of course, this doesn't include the bytecode length, but bytecode is
> quite compact.

The median length of bytecode strings in Lib/*.py (not counting module
top level code, I think) was 52 bytes (~36 instructions) a short while
back, if memory serves correctly.

I can't remember why I calculated this...

Cheers,
mwh

-- 
  That one is easily explained away as massively intricate
  conspiracy, though.            -- Chris Klein, alt.sysadmin.recovery



More information about the Python-Dev mailing list