Skip to content

Proposal: heap enhancements #9

Open
@kmsquire

Description

@kmsquire

There are a couple of enhancements that may make heaps in this package more useful:

  1. Allow the user to specify an Ordering (as is used by the Sort machinery in Base).
  2. Make key-value pair storage possible/easy

The second proposal could be made possible by a specific Ordering, but would be more efficient if it were coded for in the data structure.

It may make sense to code these as separate data structures (I haven't looked at the code), implementing the AbstractHeap interface if that makes sense.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions