Skip to content

Should ArrayMap::insert return an error or panic? #4

Open

Description

@Luro02

Depends on how likely it is that one runs out of capacity? I think it would be good to provide both a panicking and non-panicking method.

The problem is that try_insert seems to be used differently in std/hashbrown, so a different name is needed.

Activity

  1. added
    A-DesignSome design decision has to be made
    on Jul 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-DesignSome design decision has to be made

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions