FAQ
Reviewers: golang-dev_googlegroups.com,

Message:
Hello golang-dev@googlegroups.com (cc: rsc@golang.org),

I'd like you to review this change to
https://code.google.com/p/go


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.

Please review this at https://codereview.appspot.com/7068048/

Affected files:
M src/pkg/container/heap/example_intheap_test.go
M src/pkg/container/heap/example_pq_test.go
M src/pkg/container/heap/heap.go

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedJan 7, '13 at 4:50a
activeJan 7, '13 at 4:50a
posts1
users1
websitegolang.org

1 user in discussion

Cespare: 1 post

People

Translate

site design / logo © 2022 Grokbase