This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients rhettinger
Date 2015-08-15.21:54:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1439675655.91.0.18464893023.issue24874@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-08-15 21:54:15rhettingersetrecipients: + rhettinger
2015-08-15 21:54:15rhettingersetmessageid: <1439675655.91.0.18464893023.issue24874@psf.upfronthosting.co.za>
2015-08-15 21:54:15rhettingerlinkissue24874 messages
2015-08-15 21:54:15rhettingercreate