BucketSet.setNumBuckets

Changes the number of buckets to 2 ^ exp2.

class BucketSet(size_t V, K = hash_t)
override
typeof(this)
setNumBuckets
(
uint exp2
)

Parameters

exp2 uint

exponent of 2 of the new number of buckets

Return Value

Type: typeof(this)

this instance.

In: 2 ^ exp2 must fit into size_t.

Meta