[Python-Dev] Can LOAD_GLOBAL be optimized to a simple array lookup?
K.S.Sreeram
sreeram at tachyontech.net
Thu Aug 24 19:23:32 CEST 2006
Tim Peters wrote:
> 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.
Thanks! Looks like i'm only proposing what is already there in pep-267
by Jeremy Hylton.
http://www.python.org/dev/peps/pep-0267/
cheers
[sreeram;]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://mail.python.org/pipermail/python-dev/attachments/20060824/76d6c88a/attachment.pgp
More information about the Python-Dev
mailing list