heapify
heapify copied to clipboard
Get/Set Priority of Key
I don't know if this is outside the scope of this project, but while trying to implement Dijkstra's algorithm with this library I stumbled into this requirement. Basically I need to get and set the priority of a given key. Would love to know your thoughts on this @luciopaiva.
Hi @sebasgarcep. This is something I definitely want to implement and is next in my to-do list. Updating priorities is a very common task. It just needs to be done carefully so as to not degrade performance of existing code.
Thanks for taking the time to suggest the feature!