[Python-Dev] SF patch 606098: fast dictionary lookup by name

Guido van Rossum guido@python.org
Tue, 07 Jan 2003 20:18:42 -0500


> Is there an interest in further development of Oren's idea:
> 
> speed-up access to non-locals by giving dictionaries a fast special
> case lookup for failed searches with interned strings (the usual
> case for access to builtins and globals)
> 
> The proof of concept code looked very promising to me.
> It can be implemented a way that is easily disconnected
> if a better approach is found.  This looks like low hanging
> fruit.

+1.

I like Oren's ideas here a lot.  He promised a new version, but it
appears he has no time for that now, so I'd appreciate it if you could
develop this further without waiting for him (which acknowledging him,
of course).

--Guido van Rossum (home page: http://www.python.org/~guido/)