Message294839
| Author | serhiy.storchaka |
|---|---|
| Recipients | pitrou, serhiy.storchaka, vstinner |
| Date | 2017-05-31.12:24:41 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1496233481.59.0.113112259714.issue30509@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Sorry, wrong data. PR 1883 makes indexing 1.2 times faster, PR 1861 makes it 1.7 times faster $ ./python -m perf timeit -s 'class A:' -s ' def __getitem__(s, i): return t[i]' -s 'a = A(); t = tuple(range(1000))' --duplicate 100 'list(a)' Unpatched: Mean +- std dev: 498 us +- 26 us PR 1883: Mean +- std dev: 351 us +- 10 us PR 1861: Mean +- std dev: 288 us +- 7 us |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2017-05-31 12:24:41 | serhiy.storchaka | set | recipients: + serhiy.storchaka, pitrou, vstinner |
| 2017-05-31 12:24:41 | serhiy.storchaka | set | messageid: <1496233481.59.0.113112259714.issue30509@psf.upfronthosting.co.za> |
| 2017-05-31 12:24:41 | serhiy.storchaka | link | issue30509 messages |
| 2017-05-31 12:24:41 | serhiy.storchaka | create | |