std.priority_queue: add useful functions from ArrayList API

The `ensureTotalCapacityPrecise`, `clearRetainingCapacity` and
`clearAndFree` functions from the ArrayList API are also useful for a
PriorityQueue.
cdc9d65b0ddweiller committed on 2/1/2025, 6:02:39 PM· committed by Isaac Freundparent3924f17
1 file changedLine totals unavailable