basarat/typescript-collections

remove the lowest priority element from the priority queue

Closed this issue · 1 comments

It make it easy to keep the queue under a certain size for any space sensitive projects. The alternative is moving the elements once at a time into a new queue and overwriting it which is very inefficient.

Hi @JeffreyStrahm , can you create a PR with that? I will be happy to add it to the package and publish it. Don't forget about tests please.