On 20Mar2020 06:50, Dan Stromberg <drsali...@gmail.com> wrote:
Actually, I think a deque is a doubly linked list of python lists.
On 20Mar2020 09:45, Antoon Pardon <antoon.par...@vub.be> wrote:
This doesn't seem correct. A deque is used to simulate a stack or a queue. It doesn't use heappush or heappop.
You are both correct; brain fade on my part. I do not know why I conflated a deque with a heap.
Apologies for the confusion. Cheers, Cameron Simpson <c...@cskk.id.au> -- https://mail.python.org/mailman/listinfo/python-list