Commit 36488844 authored by Guido van Rossum's avatar Guido van Rossum

(Jack:) Align mapping entries to 4-words if USE_CACHE_ALIGNED is defined.

parent fd16d943
...@@ -97,6 +97,9 @@ typedef struct { ...@@ -97,6 +97,9 @@ typedef struct {
long me_hash; long me_hash;
object *me_key; object *me_key;
object *me_value; object *me_value;
#ifdef USE_CACHE_ALIGNED
long aligner;
#endif
} mappingentry; } mappingentry;
/* /*
......
...@@ -97,6 +97,9 @@ typedef struct { ...@@ -97,6 +97,9 @@ typedef struct {
long me_hash; long me_hash;
object *me_key; object *me_key;
object *me_value; object *me_value;
#ifdef USE_CACHE_ALIGNED
long aligner;
#endif
} mappingentry; } mappingentry;
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment