[Python-Dev] Hashing proposal: change only string-only dicts

Hrvoje Niksic hrvoje.niksic at avl.com
Fri Jan 20 10:49:06 CET 2012

On 01/18/2012 06:55 PM, "Martin v. Löwis" wrote:
> I was thinking about adding the field at the end,

Will this make all strings larger, or only those that create dict 
collisions?  Making all strings larger to fix this issue sounds like a 
really bad idea.

Also, would it be acceptable to simply not cache the alternate hash? 
The cached string hash is an optimization anyway.


More information about the Python-Dev mailing list