]> granicus.if.org Git - python/commitdiff
Put the most important and most frequency accessed struct member first.
authorRaymond Hettinger <python@rcn.com>
Tue, 6 Aug 2013 05:43:22 +0000 (22:43 -0700)
committerRaymond Hettinger <python@rcn.com>
Tue, 6 Aug 2013 05:43:22 +0000 (22:43 -0700)
Include/setobject.h

index a14874bb0f60e4d93b4116cbb936b1b291ef3768..31f2123534c2d3b935affc34f107e3c21603d144 100644 (file)
@@ -23,8 +23,8 @@ no meaning otherwise.
 
 typedef struct {
     /* Cached hash code of the key. */
-    Py_hash_t hash;
     PyObject *key;
+    Py_hash_t hash;
 } setentry;