Skip to content

Hashmap operations take most of the time #68

Description

@sebschmi

Image

It seems like most of the time is spent in the hashmap for now, specifically for inserting and searching.

  • Insertion spends a lot with reallocation, which could be alleviated by switching to storing boxes instead of plain structs (Use boxed types in A* data structures #67).
  • Searching could be sped up with a custom hash function, or by choosing a different data structure altogether, such as a trie.

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