Message248664
Also, looking at the source for itertools.cycle(), it looks like the overall speed could be boosted considerably by looping over the saved list directly rather than allocating a new list iterator every time the cycle loops around. |
|
Date |
User |
Action |
Args |
2015-08-15 21:54:15 | rhettinger | set | recipients:
+ rhettinger |
2015-08-15 21:54:15 | rhettinger | set | messageid: <1439675655.91.0.18464893023.issue24874@psf.upfronthosting.co.za> |
2015-08-15 21:54:15 | rhettinger | link | issue24874 messages |
2015-08-15 21:54:15 | rhettinger | create | |
|