[Python-Dev] cpython: Use cached builtins.

Georg Brandl g.brandl at gmx.net
Thu Oct 3 09:56:36 CEST 2013


Am 02.10.2013 21:58, schrieb Victor Stinner:
> I don't remember where, but I remember that I also saw things like
> "str=str, len=len, ...". So you keep the same name, but you use fast
> local lookups instead of slow builtin lookups.

In this case they aren't even fast local lookups but (slightly)
faster module global lookups.  Not worth the effort IMO.

Georg



More information about the Python-Dev mailing list