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, vstinner
Date 2009-05-11.07:44:23
SpamBayes Score 0.0039752056
Marked as misclassified No
Message-id <1242027865.93.0.47126907218.issue5986@psf.upfronthosting.co.za>
In-reply-to
Content
FWIW, the inefficiency is only in the loop setup, the time to call
reversed() and __reversed__().  The inner loop runs at the same speed
because xrange provides a __reversed__ iterator.

Please do not go through the standard library making these minor tweaks
without making sure there is a significant measured speed-up and do
consider the readability issue.
History
Date User Action Args
2009-05-11 07:44:26rhettingersetrecipients: + rhettinger, vstinner
2009-05-11 07:44:25rhettingersetmessageid: <1242027865.93.0.47126907218.issue5986@psf.upfronthosting.co.za>
2009-05-11 07:44:24rhettingerlinkissue5986 messages
2009-05-11 07:44:23rhettingercreate