# Functions
NewPriorityQueue 创建优先队列 capacity <= 0 时,为无界队列,否则有有界队列.
# Variables
No description provided by the author
No description provided by the author
# Structs
PriorityQueue 是一个基于小顶堆的优先队列 当capacity <= 0时,为无界队列,切片容量会动态扩缩容 当capacity > 0 时,为有界队列,初始化后就固定容量,不会扩缩容.