Skip to content

Is it safe to compare with reflect.DeepEqual? #39

Description

@derelbenkoenig

If I had two OrderedMaps, which contain the same elements with the same insertion order, but which were created by different sequences of actions, then those should be equal in an abstract sense. But will they actually have the same underlying data structure?

For example if one was created by inserting 1, 2, and 4; and another was created by inserting 1, 2, 3, and 4, then removing 3, or by inserting 1,4, and 2, and then using MoveBefore to put 2 before 4.

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

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions