[Python-Dev] Proposed PEP: Optimizing Global Variable and Attribute Access

Alex Martelli aleaxit at yahoo.com
Tue Aug 14 17:47:22 EDT 2001


"Roman Suzi" <rnd at onego.ru> wrote in message
news:mailman.997817303.9616.python-list at python.org...
    ...
> Well, I just think that probably interpreter could
> optimize by just IMPLICITLY making caching of global
> references, like in this (current) optimization trick:
    ...
> That is, instead of tracking, simple implicit
> localizing could be used, or not?

Yes, but that would change language semantics in a
non backwards compatible way.


Alex






More information about the Python-list mailing list