Skip to content

Equiv and HashMap need a better interface #12135

Closed
@alexcrichton

Description

@alexcrichton

Right now we have find_equiv, but nothing else on the hash map implementation that we have. We have received a few PRs for adding more *_equiv methods, and we need to decide how these are going to work out.

I envision one of three routes to take:

  1. Purge *_equiv and figure out a better way of not allocating when looking up in maps with keys of ~str
  2. Remove everything except find_equiv
  3. Make *_equiv variants of all functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions