[Python-Dev] patch: speed up name access by up to 80%

Guido van Rossum guido@python.org
Tue, 12 Feb 2002 08:53:21 -0500


> * Inline small dictionary tables in the PyObject struct and only
>   revert to external tables for larger ones. (I have an old patch 
>   for this one which you might want to update)

I may be missing some context, but AFAIK we already do this.  See
dictobject.h: the last item in struct _dictobject is

	PyDictEntry ma_smalltable[PyDict_MINSIZE];

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