Binary heap with a contextful comparator and position tracking
The implementation is mostly based on the Rust standard library’s BinaryHeap.
BinaryHeap
Min-heap.
Context type for BinaryHeap’s operations.