This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Arfrever, PaulMcMillan, Vlado.Boza, arigo, benjamin.peterson, christian.heimes, dmalcolm, koniiiik, serhiy.storchaka, vstinner
Date 2012-10-21.22:46:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> $ ./python -m timeit -s "t = 'abcdefgh' * int(1E8)" "hash(t)"

I got another numbers (32-bit Linux, AMD Athlon 64 X2 4600+).

Python's current hash algorithm:
10 loops, best of 3: 343 msec per loop

V8's algorithm:
10 loops, best of 3: 244 msec per loop
Date User Action Args
2012-10-21 22:46:31serhiy.storchakasetrecipients: + serhiy.storchaka, arigo, vstinner, christian.heimes, benjamin.peterson, Arfrever, dmalcolm, PaulMcMillan, Vlado.Boza, koniiiik
2012-10-21 22:46:31serhiy.storchakasetmessageid: <>
2012-10-21 22:46:31serhiy.storchakalinkissue14621 messages
2012-10-21 22:46:31serhiy.storchakacreate