Skip to content

BinaryHeap where the priorities are borrowed from values #230

@tyilo

Description

@tyilo

When using a heap, the priority is often not the same as the natural Ord of a type.

Would it make sense to implement a BinaryHeap replacement similar to IdOrdMap?

I think it would make sense to use another trait than IdOrdItem for the priority, so that they can differ.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions