Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #102711

Re: Heap Implementation

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Newsgroups comp.lang.python
Subject Re: Heap Implementation
Date 2016-02-09 09:40 +0000
Message-ID <mailman.2.1455010866.29838.python-list@python.org> (permalink)
References (1 earlier) <7C522D08-9D73-48D2-A71D-F1D1D34C02A5@gmail.com> <CACs7g=Cu=tGhU3TtBa0cYr46WP7kOHWyxz2TiHXCuiSLqb4P7A@mail.gmail.com> <185DAEA4-8728-4792-A3B7-7F6AC5A7F876@gmail.com> <CACs7g=APHr+DbmZaGz7P3RaRUGDYPqH+eniVTFenppPXXinOvQ@mail.gmail.com> <2308C08E-D2A1-4F16-800F-C2794D30F96B@gmail.com>

Show all headers | View raw


On 09/02/2016 04:25, Cem Karan wrote:
>
> No problem, that's what I thought happened.  And you're right, I'm looking for a priority queue (not the only reason to use a heap, but a pretty important reason!)
>

I'm assuming I've missed the explanation, so what is the problem again 
with https://docs.python.org/3/library/queue.html#queue.PriorityQueue or 
even 
https://docs.python.org/3/library/asyncio-queue.html#asyncio.PriorityQueue ?

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Heap Implementation Mark Lawrence <breamoreboy@yahoo.co.uk> - 2016-02-09 09:40 +0000

csiph-web