Message 259493 - Python tracker
Message259493
| Author | vstinner |
|---|---|
| Recipients | casevh, josh.r, mark.dickinson, pitrou, rhettinger, serhiy.storchaka, vstinner, yselivanov, zbyrne |
| Date | 2016-02-03.17:05:22 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <CAMpsgwaARXgeGZbZ_BwB0tiSt38f6ewaG43WNPr+Jzups-FKYQ@mail.gmail.com> |
| In-reply-to | <1454518824.58.0.481862737212.issue21955@psf.upfronthosting.co.za> |
| Content | |
|---|---|
> python -m timeit "sum([x * x * 1 for x in range(100)])" If you only want to benchmark x*y, x+y and list-comprehension, you should use a tuple for the iterator. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2016-02-03 17:05:22 | vstinner | set | recipients: + vstinner, rhettinger, mark.dickinson, pitrou, casevh, serhiy.storchaka, yselivanov, josh.r, zbyrne |
| 2016-02-03 17:05:22 | vstinner | link | issue21955 messages |
| 2016-02-03 17:05:22 | vstinner | create | |