Bucketizer.reallocate

This method allows reallocation within the respective bucket range. If both b.length and size fall in a range of the form [min + k * step, min + (k + 1) * step - 1], then reallocation is in place. Otherwise, reallocation with moving is attempted.

struct Bucketizer(Allocator, size_t min, size_t max, size_t step)
bool
reallocate
(
ref void[] b
,
size_t size
)

Meta