-
Caleb Spare authored
This adds a simple IntHeap example, and modifies the more complex PriorityQueue example to make use of the index field it maintains. Fixes #4331. R=rsc, adg CC=golang-dev https://golang.org/cl/7068048
0e74f04a
This adds a simple IntHeap example, and modifies the more complex PriorityQueue example to make use of the index field it maintains. Fixes #4331. R=rsc, adg CC=golang-dev https://golang.org/cl/7068048