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 Dubslow, docs@python, rhettinger, serhiy.storchaka, terry.reedy, tim.peters
Date 2017-11-21.07:02:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1511247720.83.0.213398074469.issue32099@psf.upfronthosting.co.za>
In-reply-to
Content
Serhiy, I think you're focusing on an irrelevant edge case and reading too much into the recipe.  You could create an underlying binary tree with O(n) iteration and O(log n) deletion but then that completely misses the point of the itertools recipes and would likely be pointless in the real-world and likely perform worse than the current recipe in common cases unless you wrote a C extension for it.
History
Date User Action Args
2017-11-21 07:06:13rhettingerunlinkissue32099 messages
2017-11-21 07:02:00rhettingersetrecipients: + rhettinger, tim.peters, terry.reedy, docs@python, serhiy.storchaka, Dubslow
2017-11-21 07:02:00rhettingersetmessageid: <1511247720.83.0.213398074469.issue32099@psf.upfronthosting.co.za>
2017-11-21 07:02:00rhettingerlinkissue32099 messages
2017-11-21 07:02:00rhettingercreate