On 20Mar2020 06:50, Dan Stromberg <[email protected]> wrote:
Actually, I think a deque is a doubly linked list of python lists.
On 20Mar2020 09:45, Antoon Pardon <[email protected]> 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 <[email protected]> -- https://mail.python.org/mailman/listinfo/python-list
