Message87565
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. |
|
Date |
User |
Action |
Args |
2009-05-11 07:44:26 | rhettinger | set | recipients:
+ rhettinger, vstinner |
2009-05-11 07:44:25 | rhettinger | set | messageid: <1242027865.93.0.47126907218.issue5986@psf.upfronthosting.co.za> |
2009-05-11 07:44:24 | rhettinger | link | issue5986 messages |
2009-05-11 07:44:23 | rhettinger | create | |
|