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, serhiy.storchaka
Date 2016-05-18.01:51:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1463536262.37.0.121322267514.issue27047@psf.upfronthosting.co.za>
In-reply-to
Content
Sorry Serhiy, I really don't want to do this.  Indexing is the least important part of the API and should not drive the overall structure.  This optimization is at odds with the design goal of a structure that is efficient at near end-points and is not intended to compete with lists which are supposed to be efficient for random access indexing.  The use cases for deques rarely use access by position anywhere are from the end-points, so in a way this is a false optimization that doesn't account for the intended use cases.  The core design has been stable for a very long time and I'm very happy with it as is.
History
Date User Action Args
2016-05-18 01:51:02rhettingersetrecipients: + rhettinger, serhiy.storchaka
2016-05-18 01:51:02rhettingersetmessageid: <1463536262.37.0.121322267514.issue27047@psf.upfronthosting.co.za>
2016-05-18 01:51:02rhettingerlinkissue27047 messages
2016-05-18 01:51:01rhettingercreate