Message173491
| 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 |
<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 |
|