docs/Writerside/topics/hash_map.h.md

changeset 1243
13e15cd529ae
parent 1228
c231f6a259b5
equal deleted inserted replaced
1242:bbb734f73392 1243:13e15cd529ae
1 # Hash Map 1 # Hash Map
2 2
3 UCX provides a basic hash map implementation with a configurable amount of buckets. 3 UCX provides a basic hash map implementation with a configurable amount of buckets.
4 If you do not specify the number of buckets, a default of 16 buckets will be used. 4 If you do not specify the number of buckets, a default of 16 buckets will be used.
5
5 You can always rehash the map with `cxMapRehash()` to change the number of buckets to something more efficient, 6 You can always rehash the map with `cxMapRehash()` to change the number of buckets to something more efficient,
6 but you need to be careful, because when you use this function you are effectively locking into using this 7 but you need to be careful, because when you use this function you are effectively locking into using this
7 specific hash map implementation, and you would need to remove all calls to this function when you want to 8 specific hash map implementation, and you would need to remove all calls to this function when you want to
8 exchange the concrete map implementation with something different. 9 exchange the concrete map implementation with something different.
9 10

mercurial