Message181147
| Author |
serhiy.storchaka |
| Recipients |
Ramchandra Apte, eric.snow, pitrou, rhettinger, serhiy.storchaka |
| Date |
2013年02月02日.08:53:28 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1359795209.13.0.483546013846.issue17100@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> That's O(n), with many spurious insertions and deletions.
Any implementation is O(n).
> deques already allow rotating.
I agree that the rotation makes some sense for such collections as deque or OrderedDict (although it is easy implemented in user code). But there are no rotate_at() and rotate_after() in deque. |
|