Message179739
The easiest change would essentially involve inlining the code for append/appendleft and then removing unneeded steps (the state update, the INCREF/DECREF of item, and the TRIM() test).
Of these, the INCREF/DECREF is likely to be a nice win because we can rotate without visiting all the underlying objects (each of which would likely be a cache-line miss). |
|
Date |
User |
Action |
Args |
2013-01-11 22:43:46 | rhettinger | set | recipients:
+ rhettinger, jcea, sfllaw, jcon |
2013-01-11 22:43:46 | rhettinger | set | messageid: <1357944226.67.0.134966521839.issue16398@psf.upfronthosting.co.za> |
2013-01-11 22:43:46 | rhettinger | link | issue16398 messages |
2013-01-11 22:43:46 | rhettinger | create | |
|