[Python-checkins] cpython: Move the set search finger before the smalltable.

raymond.hettinger python-checkins at python.org
Fri Jan 30 07:02:34 CET 2015


https://hg.python.org/cpython/rev/b5c95ff0f9a4
changeset: 94395:b5c95ff0f9a4
parent: 94365:fee78636a3b1
user: Raymond Hettinger <python at rcn.com>
date: Thu Jan 29 22:00:32 2015 -0800
summary:
 Move the set search finger before the smalltable.
files:
 Include/setobject.h | 4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Include/setobject.h b/Include/setobject.h
--- a/Include/setobject.h
+++ b/Include/setobject.h
@@ -57,9 +57,9 @@
 */
 setentry *table;
 Py_hash_t hash; /* Only used by frozenset objects */
+ Py_ssize_t finger; /* Search finger for pop() */
+
 setentry smalltable[PySet_MINSIZE];
-
- Py_ssize_t finger; /* Search finger for pop() */
 PyObject *weakreflist; /* List of weak references */
 } PySetObject;
 
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /