Message175048
| Author |
serhiy.storchaka |
| Recipients |
Arfrever, Giovanni.Bajo, PaulMcMillan, Vlado.Boza, alex, arigo, benjamin.peterson, camara, christian.heimes, dmalcolm, koniiiik, lemburg, serhiy.storchaka, vstinner |
| Date |
2012年11月07日.07:40:29 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1352274030.09.0.552811539255.issue14621@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I tested different kind of strings.
$ ./python -m timeit -n 1 -s "t = b'a' * 10**8" "hash(t)"
$ ./python -m timeit -n 1 -s "t = 'a' * 10**8" "hash(t)"
$ ./python -m timeit -n 1 -s "t = '\u0100' * 10**8" "hash(t)"
$ ./python -m timeit -n 1 -s "t = '\U00010000' * 10**8" "hash(t)"
current SipHash
bytes 181 msec 453 msec 2.5x
UCS1 429 msec 453 msec 1.06x
UCS2 179 msec 897 msec 5x
UCS4 183 msec 1.79 sec 9.8x |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年11月07日 07:40:30 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, lemburg, arigo, vstinner, christian.heimes, benjamin.peterson, Arfrever, alex, dmalcolm, Giovanni.Bajo, PaulMcMillan, Vlado.Boza, koniiiik, camara |
| 2012年11月07日 07:40:30 | serhiy.storchaka | set | messageid: <1352274030.09.0.552811539255.issue14621@psf.upfronthosting.co.za> |
| 2012年11月07日 07:40:30 | serhiy.storchaka | link | issue14621 messages |
| 2012年11月07日 07:40:29 | serhiy.storchaka | create |
|