[Python-Dev] Making builtins more efficient

Delaney, Timothy (Tim) tdelaney at avaya.com
Mon Mar 13 00:25:21 CET 2006


Steven Elliott wrote:

> The important difference between builtins and globals is that with
> builtins both the compiler and the runtime can enumerate all
> references 
> to builtins in a single consistent way.  That is "True" can always be
> builtin #3 and "len" can always be builtin #17, or whatever.

__slots__ for modules?

Tim Delaney


More information about the Python-Dev mailing list