Description container/heap: revise example and add a simpler example.
This adds a simple IntHeap example, and modifies the more complex
PriorityQueue example to make use of the index field it maintains.
Fixes issue 4331.
Patch Set 1 #Patch Set 2 : diff -r 94f0ce1a6b70 https://code.google.com/p/go #Patch Set 3 : diff -r 49db9317937c https://code.google.com/p/go #
Total comments: 2
Patch Set 4 : diff -r 1b57fb106d8d https://code.google.com/p/go #
MessagesTotal messages: 4
|