[Python-Dev] Can LOAD_GLOBAL be optimized to a simple array lookup?

Tim Peters tim.peters at gmail.com
Thu Aug 24 18:29:50 CEST 2006


Note that there are already three PEPs related to speeding dict-based
namespace access; start with:

    http://www.python.org/dev/peps/pep-0280/

which references the other two.

The "normal path" through dict lookups got faster since there was a
rash of those, to the extent that more complication elsewhere got much
less attractive.  It's possible that dict lookups got slower again
since /then/, though.


More information about the Python-Dev mailing list