Message173491
> $ ./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:31 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, arigo, vstinner, christian.heimes, benjamin.peterson, Arfrever, dmalcolm, PaulMcMillan, Vlado.Boza, koniiiik |
2012-10-21 22:46:31 | serhiy.storchaka | set | messageid: <1350859591.75.0.252702831995.issue14621@psf.upfronthosting.co.za> |
2012-10-21 22:46:31 | serhiy.storchaka | link | issue14621 messages |
2012-10-21 22:46:31 | serhiy.storchaka | create | |
|