proposal: container: Generic Array Heap Implementation #73345
Labels
LibraryProposal
Issues describing a requested change to the Go standard library or x/ libraries, but not to a tool
Proposal
Milestone
Proposal Details
container/heap provides a heap interface allowing people to create there own implementation leading to duplication of efforts.
I am proposing a generic heap implementation that uses a slice as the internal data structure that everyone can use and save the effort them the effort of implementing a new one each time they need to use a heap.
The main APIs are:
The text was updated successfully, but these errors were encountered: