Message150648
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 |
|
Date |
User |
Action |
Args |
2012-01-05 00:58:39 | christian.heimes | set | recipients:
+ christian.heimes, lemburg, gvanrossum, barry, georg.brandl, terry.reedy, jcea, pitrou, vstinner, benjamin.peterson, eric.araujo, Arfrever, alex, dmalcolm, Mark.Shannon, Zhiping.Deng, PaulMcMillan |
2012-01-05 00:58:39 | christian.heimes | set | messageid: <1325725119.42.0.196857111498.issue13703@psf.upfronthosting.co.za> |
2012-01-05 00:58:38 | christian.heimes | link | issue13703 messages |
2012-01-05 00:58:38 | christian.heimes | create | |
|