heapify icon indicating copy to clipboard operation
heapify copied to clipboard

Get/Set Priority of Key

Open sebasgarcep opened this issue 5 years ago • 1 comments

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.

sebasgarcep avatar Aug 23 '20 04:08 sebasgarcep

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!

luciopaiva avatar Sep 20 '20 19:09 luciopaiva