[Python-Dev] Hashing proposal: change only string-only dicts (original) (raw)
Hrvoje Niksic hrvoje.niksic at avl.com
Fri Jan 20 10:49:06 CET 2012
- Previous message: [Python-Dev] Hashing proposal: change only string-only dicts
- Next message: [Python-Dev] Hashing proposal: change only string-only dicts
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
Hrvoje
- Previous message: [Python-Dev] Hashing proposal: change only string-only dicts
- Next message: [Python-Dev] Hashing proposal: change only string-only dicts
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]