Message198652
Results under Windows:
- before:
PCbuild\amd64\python.exe -m timeit "b=bytearray(100000)" "while b: b[-1:] = b''"
10 loops, best of 3: 74.8 msec per loop
PCbuild\amd64\python.exe -m timeit "b=bytearray(100000)" "while b: b[:1] = b''"
10 loops, best of 3: 330 msec per loop
- after:
PCbuild\amd64\python.exe -m timeit "b=bytearray(100000)" "while b: b[-1:] = b''"
10 loops, best of 3: 73.9 msec per loop
PCbuild\amd64\python.exe -m timeit "b=bytearray(100000)" "while b: b[:1] = b''"
10 loops, best of 3: 73.8 msec per loop |
|
Date |
User |
Action |
Args |
2013-09-29 21:11:13 | pitrou | set | recipients:
+ pitrou, vstinner, serhiy.storchaka |
2013-09-29 21:11:13 | pitrou | set | messageid: <1380489073.42.0.780447294453.issue19087@psf.upfronthosting.co.za> |
2013-09-29 21:11:13 | pitrou | link | issue19087 messages |
2013-09-29 21:11:13 | pitrou | create | |
|