diff -r 68b75c091028 -r 55b13f583356 docs/Writerside/topics/hash_map.h.md --- a/docs/Writerside/topics/hash_map.h.md Sun Dec 14 16:21:09 2025 +0100 +++ b/docs/Writerside/topics/hash_map.h.md Sun Dec 14 17:30:17 2025 +0100 @@ -14,20 +14,17 @@ CxMap *cxHashMapCreate(const CxAllocator *allocator, size_t itemsize, size_t buckets); -CxMap *cxHashMapCreateSimple(size_t itemsize); - int cxMapRehash(CxMap *map); ``` The function `cxHashMapCreate()` creates a new [map](map.h.md) where both the map structure and the contained buckets are allocated by the specified `allocator`. -The [default allocator](allocator.h.md#default-allocator) is used in `cxHashMapCreateSimple()`. The map will store items of size `itemsize`. You can use the `CX_STORE_POINTERS` macro for `itemsize` to indicate that the map shall store pointers instead of actual items. -If you pass zero for the number of `buckets`, or use `cxHashMapSimple()`, +If you pass zero for the number of `buckets`, the map is initialized with a default of 16 buckets; otherwise the specified number of buckets is allocated. The function `cxMapRehash()` allocates a new array of buckets and re-distributes all elements,