hash_set_buckets_allocated - set the number of buckets |
#include <hash.h> void hash_set_buckets_allocated (hash, int); |
Set the number of buckets allocated. You may ONLY do this when you have just created the hash and before you have inserted any elements. Otherwise the results are undefined (and probably bad). The number of buckets MUST be a power of 2. |
Richard Jones <rich@annexia.org> |
GNU LGPL (see http://www.gnu.org/) |
c2lib-1.2.13 |