You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm pretty sure you were doing AoC21 day 15 when you requested this, am I right? 😂
Your request makes total sense. I do want to introduce support for keys of types other than numbers, but that will impose a speed penalty since I won't be able to use typed arrays anymore, which is what makes Heapify so fast. Anyway, I do think that Heapify should evolve towards better usability, even if it means sacrificing eficiency, so I think this is worth doing. We should see this change by the time v1.0 is released.
The output should be
I want to use Dijkstra's algorithm on a 2D-array grid. Using indexes as keys and the number value at that position as weight.
The text was updated successfully, but these errors were encountered: