Skip to content

container/heap: add Fix #5372

@bradfitz

Description

@bradfitz
In a merging sstable iterator, I needed to copy container/heap's down function.

It'd be nice if it were exported. Something like:

// Down pushes down the minimum element from the heap into its proper location.
// It should be called if the minimum element's value is modified.
func Down(h Interface)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions