Author rhettinger
Recipients rhettinger, vstinner
Date 2009-05-11.07:44:23
SpamBayes Score 0.00397521
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