The smallest and simplest priority queue in JavaScript.
Improve TypeScript definitions for pop
and peek
.
Improve TypeScript typings.
pop()
.Expose a module
entry point with modern ES code.
Fixed a bug when initializing the queue with an empty array.
Fixed a a few edge cases, including a regression in 1.2.0.
20% faster, thanks to ideas from FastPriorityQueue.js and qheap.