-
Committer:
John Arbash Meinel
-
Date:
2009-09-28 19:14:08 UTC
-
mto:
(4679.6.1 2.1-export-c-api)
-
mto:
This revision was merged to the branch mainline in
revision
4735.
-
Revision ID:
john@arbash-meinel.com-20090928191408-7im66hra3wfcolhz
Add a KEY_HAS_HASH define.
This turns on/off the caching of the Key.hash.
For now, performance shows negligible impact of adding it,
so it isn't worth the memory consumption. If we get into
adding Key to a KeyDict that doesn't cache the hash
independently, we should re-evaluate whether it is worthwhile.