luciopaiva / heapify

The fastest JavaScript priority queue out there. Zero dependencies.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Module breaks for large heap sizes

0kzh opened this issue · comments

I tried adding 100,000 nodes to a heap and got some strange behaviour. The first few elements I pop have random values that I never added into the heap, but after a while, it starts working again.

Hi @0kzh, can you please share the code that reproduces the problem?

I am closing this due to inactivity, but feel free to reopen if you still have the code that reproduces the issue.