cp_hashlist_set_min_size(3) - Linux man page

Name

cp_hashlist_set_min_size - set the minimal internal table size on a cp_hashlist

Synopsis

#include <cprops/hashlist.h>

void cp_hashlist_set_min_size(cp_hashlist *list,

unsigned long min_size);

Description

cp_hashlist_set_min_size sets the minimal size of internal lookup table 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_hashlist_create(3), cp_hashlist_set_min_fill_factor(3)