summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2015-01-30 06:00:32 (GMT)
committerRaymond Hettinger <python@rcn.com>2015-01-30 06:00:32 (GMT)
commitc5644126a2906c61bb40cc6d3186060c358de734 (patch)
tree5be5f983d8f522ca7d95e4a4dede16e4f5ebbb34
parentc84d167733efd33b54818b1f334c579cf7c8e548 (diff)
downloadcpython-c5644126a2906c61bb40cc6d3186060c358de734.zip
cpython-c5644126a2906c61bb40cc6d3186060c358de734.tar.gz
cpython-c5644126a2906c61bb40cc6d3186060c358de734.tar.bz2
Move the set search finger before the smalltable.
-rw-r--r--Include/setobject.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/setobject.h b/Include/setobject.h
index bb5316f..f17bc1b 100644
--- a/Include/setobject.h
+++ b/Include/setobject.h
@@ -57,9 +57,9 @@ typedef struct {
*/
setentry *table;
Py_hash_t hash; /* Only used by frozenset objects */
- setentry smalltable[PySet_MINSIZE];
-
Py_ssize_t finger; /* Search finger for pop() */
+
+ setentry smalltable[PySet_MINSIZE];
PyObject *weakreflist; /* List of weak references */
} PySetObject;