Move the set search finger before the smalltable.

This commit is contained in:
Raymond Hettinger 2015-01-29 22:00:32 -08:00
parent c84d167733
commit c5644126a2

View file

@ -57,9 +57,9 @@ typedef struct {
*/ */
setentry *table; setentry *table;
Py_hash_t hash; /* Only used by frozenset objects */ Py_hash_t hash; /* Only used by frozenset objects */
setentry smalltable[PySet_MINSIZE];
Py_ssize_t finger; /* Search finger for pop() */ Py_ssize_t finger; /* Search finger for pop() */
setentry smalltable[PySet_MINSIZE];
PyObject *weakreflist; /* List of weak references */ PyObject *weakreflist; /* List of weak references */
} PySetObject; } PySetObject;