[Python-Dev] Making builtins more efficient
Greg Ewing
greg.ewing at canterbury.ac.nz
Sun Mar 12 23:00:40 CET 2006
Guido van Rossum wrote:
> I don't see why everything that doesn't make sense to be shadowed
> ought to become a keyword.
That wasn't the reason. I was thinking it
would be nice if one could use True and False
instead of 1 and 0 in the knowledge that it
wasn't costing a couple of dictionary lookups.
However, if a more general way is found of
optimising global lookups, this may become a
non-issue.
Greg
More information about the Python-Dev
mailing list