// NewPriorityQueue construct of priority queue
NewPriorityQueue construct of priority queue
// NewPriorityQueue construct of priority queue
func NewPriorityQueue(capacity int) *PriorityQueue {
	return &PriorityQueue{
		items:    make(map[uint64]*Entry),
		btree:    btree.New(defaultDegree),
		capacity: capacity,
	}
}
func NewPriorityQueue ( capacity int ) * PriorityQueue { return & PriorityQueue { items : make ( map [ uint64 ] * Entry ) , btree : btree . New ( defaultDegree ) , capacity : capacity , } }
NewPriorityQueue construct of priority queue
NewPriorityQueue construct of priority queue