cp_hashtable_set_min_size(3)
| cp_hashtable(3) | libcprops - cp_hashtable | cp_hashtable(3) |
NAME
cp_hashtable_set_min_size - set the minimal internal table size on a cp_hashtable
SYNOPSIS
#include <cprops/hashtable.h>
void cp_hashtable_set_min_size(cp_hashtable *table, int min_size);
DESCRIPTION
cp_hashtable_set_min_size sets the minimal size of internal storage to min_size. On creation, this value is set to the size hint given to the constructor function. This is to prevent tables from resizing upon entry removal shortly after creation if the table contains few items.
SEE ALSO
| OCTOBER 2005 | libcprops.0.0.3 |
