Christian Heimes <li...@cheimes.de> added the comment:

Paul wrote:
> I suggest that we don't randomize strings shorter than 6 characters. For 
> longer strings, we randomize the first and last 5 characters. This means 
> we're only adding additional work to a max of 10 rounds of the hash, and only 
> for longer strings. Collisions with the hash from short strings should be 
> minimal.

It's too surprising for developers when just the strings with 6 or more chars 
are randomized. Barry made a good point 
http://bugs.python.org/issue13703#msg150613

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13703>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to