Skip to content

Hashed Containers (or a Better Explanation why not) #9

@polijan

Description

@polijan

The README states that CTL will not have unordered_map and unordered_set. The rationale for this is quite succinct: "ordered containers are preferred, even at the cost of performance".

If CTL won't offer hashed containers, could it at least extend the explanation why red/black containers should be always preferred. It's not obvious why it would always be true. Especially, as:

  1. hash tables are a popular datastructure in C
  2. it's not just about popularity, hash containers retrieval is algorithmically faster (O(1) average) which really can matter.

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