[Python-Dev] patch: speed up name access by up to 80% (original) (raw)

Skip Montanaro skip@pobox.com
Mon, 11 Feb 2002 14:52:30 -0600


The only thing I'd change is that if PyDict_GetItem_Fast is a macro that
only works for interned strings, I'd change its name to reflect its use:
PyDict_GET_ITEM_INTERNED or something similar.

One other naming change is to prefix PyDict_GetItem_Fast2 with an underscore, since the comments about its use make it clear that it's an internal function.

Skip