[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Rosetta Code Priority Queue
- From: Matthew Wild <mwild1@...>
- Date: Tue, 12 Apr 2016 14:02:18 +0100
On 12 April 2016 at 13:12, Nagaev Boris <bnagaev@gmail.com> wrote:
> On Tue, Apr 12, 2016 at 11:12 AM, Martin Krpan <wtxnh-lua@yahoo.com.au> wrote:
>> I was looking for priority queue and found this implementation on
>> Rosetta Code (Lua implementation):
>> https://rosettacode.org/wiki/Priority_queue#Lua
>
> See https://github.com/Tieske/binaryheap.lua
For the sake of completeness:
https://hg.prosody.im/trunk/file/tip/util/indexedbheap.lua (though
it's not packaged outside of Prosody).
Regards,
Matthew