Skip to content

Add support for hashmaps (wrap std::unordered_map) #13

@msune

Description

@msune

As a user, I would like a to have a variant of cdada_map_t that is equivalent to std::unordered_map, which has the following differences:

map unordered_map
Ordering ordered unordered
Implementation Red-Black Tree (self balancing) Hash Table
Computational complexity
Search log(N) Average = O(1), Worst = O(N)
Insertion log(N) + rebalancing Average = O(1), Worst = O(N)
Deletion log(n) + rebalancing Average = O(1), Worst = O(N)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions