lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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