haxpor / hashmap_c

Generic hashmap implementation in C. Uses murmurhash as hash function.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add ability to shrink down the hashmap

haxpor opened this issue · comments

When hashmap expanded as the number of elements inserted more and more, as of now there's no way to shrink the allocated memory space (on heap). Better to provide API for manually call, and might be possible to handled calling it internally.