Some improvements in collections::PriorityQueue