[Python-checkins] cpython: Put the most important and most frequency accessed struct member first.

raymond.hettinger python-checkins at python.org
Tue Aug 6 07:43:33 CEST 2013


http://hg.python.org/cpython/rev/20557286cc35
changeset: 85049:20557286cc35
user: Raymond Hettinger <python at rcn.com>
date: Mon Aug 05 22:43:22 2013 -0700
summary:
 Put the most important and most frequency accessed struct member first.
files:
 Include/setobject.h | 2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Include/setobject.h b/Include/setobject.h
--- a/Include/setobject.h
+++ b/Include/setobject.h
@@ -23,8 +23,8 @@
 
 typedef struct {
 /* Cached hash code of the key. */
+ PyObject *key;
 Py_hash_t hash;
- PyObject *key;
 } setentry;
 
 
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

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