A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-January/115707.html below:

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

[Python-Dev] Hashing proposal: change only string-only dicts [Python-Dev] Hashing proposal: change only string-only dictsHrvoje 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.

Hrvoje
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4