Message259710
(Oops, I attached the wrong patch, fixed in patch v2.)
Quick & dirty micro-benchmark:
Original:
$ ./python -m timeit -s 'lst=list("hello")' 'lst[2]'
10000000 loops, best of 3: 0.0261 usec per loop
Patched:
$ ./python -m timeit -s 'lst=list("hello")' 'lst[2]'
10000000 loops, best of 3: 0.0186 usec per loop |
|
| Date |
User |
Action |
Args |
| 2016-02-06 01:49:13 | vstinner | set | recipients:
+ vstinner, rhettinger, yselivanov |
| 2016-02-06 01:49:13 | vstinner | set | messageid: <[email protected]> |
| 2016-02-06 01:49:13 | vstinner | link | issue26301 messages |
| 2016-02-06 01:49:13 | vstinner | create | |
|