IBucketSet.redistribute

Changes the number of buckets to the lowest power of 2 that results in a load factor of at least load_factor with the current number of elements.

class IBucketSet
typeof(this)
redistribute
(
float load_factor = 0.75
)

Parameters

load_factor float

factor of n / number of buckets

Return Value

Type: typeof(this)

this instance.

In: load_factor must be greater than 0.

Meta