[Python-Dev] patch: speed up name access by up to 80% (original) (raw)
Guido van Rossum guido@python.org
Tue, 12 Feb 2002 08:53:21 -0500
- Previous message: [Python-Dev] patch: speed up name access by up to 80%
- Next message: [Python-Dev] patch: speed up name access by up to 80%
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
* 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/)
- Previous message: [Python-Dev] patch: speed up name access by up to 80%
- Next message: [Python-Dev] patch: speed up name access by up to 80%
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]