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

Turn on CACHE_HASH, for 2% speedier dict lookups

parent db3b0410
......@@ -47,6 +47,9 @@ functions should be applied to nil objects.
/* NB The type is revealed here only because it is used in dictobject.c */
/* Take this out to save 4 bytes per string object and to lose 2% speedup */
#define CACHE_HASH
typedef struct {
PyObject_VAR_HEAD
#ifdef CACHE_HASH
......
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