Message175047
% ./python -m timeit -r20 -n1000000 -s "h = hash; x = 'a' * 10**7" -- "h(x)"
Here is only one hash calculation and 999999 cached calls. |
|
| Date |
User |
Action |
Args |
| 2012-11-07 06:49:21 | 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 06:49:21 | serhiy.storchaka | set | messageid: <[email protected]> |
| 2012-11-07 06:49:21 | serhiy.storchaka | link | issue14621 messages |
| 2012-11-07 06:49:21 | serhiy.storchaka | create | |
|