Move `compareFn` from init to type constructor in `PriorityQueue` and `PriorityDequeue`.
This change significantly improves performance for simple compare functions and modifies
the API to be more consistent with e.g. `HashMap`.
53b87fa78aMax Hollmann committed on 10/17/2021, 9:47:43 PM· committed by Andrew Kelleyparent22beaf5