@quenty/queue
v2.4.2
Published
Queue class with better performance characteristics than table.remove()
Readme
Queue
Queue class with better performance characteristics than table.remove()
Installation
npm install @quenty/queue --saveUsage
local queue = Queue.new()
queue:PushRight("a")
queue:PushRight("b")
queue:PushRight("c")
while not queue:IsEmpty() do
local entry = queue:PopLeft()
print(entry) --> a, b, c
end