cp_hashtable_set_min_size(3) - Linux man page

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

cp_hashtable_create(3), cp_hashtable_set_min_fill_factor(3)

Referenced By

cp_hashtable_set_max_fill_factor(3)