docs/Writerside/topics/hash_map.h.md

Sun, 09 Feb 2025 22:06:00 +0100

author
Mike Becker <universe@uap-core.de>
date
Sun, 09 Feb 2025 22:06:00 +0100
branch
docs/3.1
changeset 1175
453a45647a32
parent 1146
151c057faf7c
permissions
-rw-r--r--

reorder the topics to make more sense when read from top to bottom

relates to #451

# Hash Map

<warning>
Outdated - Rewrite!
</warning>

UCX provides a basic hash map implementation with a configurable amount of buckets.
If you do not specify the number of buckets, a default of 16 buckets will be used.
You can always rehash the map with `cxMapRehash()` to change the number of buckets to something more efficient,
but you need to be careful, because when you use this function you are effectively locking into using this
specific hash map implementation, and you would need to remove all calls to this function when you want to
exchange the concrete map implementation with something different.

## Undocumented Symbols (TODO)
### cxHashMapCreate
### cxMapRehash

mercurial