]> granicus.if.org Git - python/commitdiff
Move the set search finger before the smalltable.
authorRaymond Hettinger <python@rcn.com>
Fri, 30 Jan 2015 06:00:32 +0000 (22:00 -0800)
committerRaymond Hettinger <python@rcn.com>
Fri, 30 Jan 2015 06:00:32 +0000 (22:00 -0800)
Include/setobject.h

index bb5316f6d28061bf13d37fa1b5756090ae3efb2e..f17bc1b035457f874a8c68f2d82eb2b46888ca75 100644 (file)
@@ -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;