Paul McMillan <p...@mcmillan.ws> added the comment: > - for small strings we could use a different seed than for larger strings
Or just leave them unseeded with our existing algorithm. Shifting them into a different part of the hash space doesn't really gain us much. > - for larger strings we could use Paul's algorithm but limit the XOR op to > the first and last 16 elements instead of all elements. Agreed. It does have to be both the first and the last though. We can't just do one or the other. ---------- _______________________________________ 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