Closed Zerglrisk closed 8 years ago
Yes, as mentioned on the front page, this is a stable priority queue. It uses the InsertionIndex to achieve this.
It should be mentioned that after #7, FastPriorityQueue
is no longer stable. If you need a stable implemention, I've provided StablePriorityQueue
which is the same thing but stable (and about 2% slower)
if node has same prioirty, enqueue has keep seq by inser timing? can you show the prove?