Github user masaori335 commented on the issue: https://github.com/apache/trafficserver/pull/1088 @shinrich It looks working correctly. What is problem with the vector `W(10), Z(40), and Y(30)` in that case? This PriorityQueue is implemented as BinaryHeap in an array. So left child node(`Z(40)`) could be larger than right child node(`Y(30)`). And we don't need to sort the array.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---