docs/Writerside/topics/hash_map.h.md

changeset 1190
a7b913d5d589
parent 1146
151c057faf7c
equal deleted inserted replaced
1188:b0300de92b72 1190:a7b913d5d589
1 # Hash Map 1 # Hash Map
2 2
3 <warning> 3 <warning>
4 Outdated - Rewrite! 4 Outdated Section - will be updated soon!
5 </warning> 5 </warning>
6 6
7 UCX provides a basic hash map implementation with a configurable amount of buckets. 7 UCX provides a basic hash map implementation with a configurable amount of buckets.
8 If you do not specify the number of buckets, a default of 16 buckets will be used. 8 If you do not specify the number of buckets, a default of 16 buckets will be used.
9 You can always rehash the map with `cxMapRehash()` to change the number of buckets to something more efficient, 9 You can always rehash the map with `cxMapRehash()` to change the number of buckets to something more efficient,
10 but you need to be careful, because when you use this function you are effectively locking into using this 10 but you need to be careful, because when you use this function you are effectively locking into using this
11 specific hash map implementation, and you would need to remove all calls to this function when you want to 11 specific hash map implementation, and you would need to remove all calls to this function when you want to
12 exchange the concrete map implementation with something different. 12 exchange the concrete map implementation with something different.
13 13
14 <!--
14 ## Undocumented Symbols (TODO) 15 ## Undocumented Symbols (TODO)
15 ### cxHashMapCreate 16 ### cxHashMapCreate
16 ### cxMapRehash 17 ### cxMapRehash
18 -->
19
20 <seealso>
21 <category ref="apidoc">
22 <a href="https://ucx.sourceforge.io/api/hash__map_8h.html">hash_map.h</a>
23 </category>
24 </seealso>
25

mercurial