Author serhiy.storchaka
Recipients Arfrever, PaulMcMillan, Vlado.Boza, arigo, benjamin.peterson, christian.heimes, dmalcolm, haypo, koniiiik, serhiy.storchaka
Date 2012-10-21.22:46:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1350859591.75.0.252702831995.issue14621@psf.upfronthosting.co.za>
In-reply-to
Content
> $ ./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
History
Date User Action Args
2012-10-21 22:46:31serhiy.storchakasetrecipients: + serhiy.storchaka, arigo, haypo, christian.heimes, benjamin.peterson, Arfrever, dmalcolm, PaulMcMillan, Vlado.Boza, koniiiik
2012-10-21 22:46:31serhiy.storchakasetmessageid: <1350859591.75.0.252702831995.issue14621@psf.upfronthosting.co.za>
2012-10-21 22:46:31serhiy.storchakalinkissue14621 messages
2012-10-21 22:46:31serhiy.storchakacreate