[Python-checkins] cpython (2.7): Arrange structure to match the common access patterns.
raymond.hettinger
python-checkins at python.org
Sat Jun 22 09:55:38 CEST 2013
http://hg.python.org/cpython/rev/f1dc30a1be72
changeset: 84248:f1dc30a1be72
branch: 2.7
parent: 84223:6f535c725b27
user: Raymond Hettinger <python at rcn.com>
date: Sat Jun 22 00:51:01 2013 -0700
summary:
Arrange structure to match the common access patterns.
files:
Modules/_collectionsmodule.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Modules/_collectionsmodule.c b/Modules/_collectionsmodule.c
--- a/Modules/_collectionsmodule.c
+++ b/Modules/_collectionsmodule.c
@@ -48,8 +48,8 @@
typedef struct BLOCK {
struct BLOCK *leftlink;
+ PyObject *data[BLOCKLEN];
struct BLOCK *rightlink;
- PyObject *data[BLOCKLEN];
} block;
#define MAXFREEBLOCKS 10
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list