Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

container/heap: Ordering issue with a golang heap.Interface PriorityQueue. The heap.Fix() doesn't fix the ordering as it should #10782

Closed
achedeuzot opened this issue May 11, 2015 · 2 comments

Comments

@achedeuzot
Copy link

Hello,

I'm using the example provided on the container/heap documentation page to have a PriorityQueue but it doesn't work as expected.

I have posted a detailed case on stackoverflow (link below). Is there something I'm missing or is there really a problem with the way the priority queue works ?

http://stackoverflow.com/questions/30171451/ordering-issue-with-a-golang-heap-interface-priorityqueue-the-heap-fix-doesn

Thanks !

@bradfitz
Copy link
Contributor

Let's move this to the golang-nuts mailing list. Unlike many Github projects, we only use our bug tracker for bugs, and not discussion. (primarily because we started with mailing lists, so that's still our primary conversation forum)

If there's an actual bug identified, then we move it here.

@achedeuzot
Copy link
Author

Ok, sorry for the wrong place for this.

@mikioh mikioh changed the title Ordering issue with a golang heap.Interface PriorityQueue. The heap.Fix() doesn't fix the ordering as it should container/heap: Ordering issue with a golang heap.Interface PriorityQueue. The heap.Fix() doesn't fix the ordering as it should May 12, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants