std.experimental.allocator.building_blocks.bucketizer

Members

Structs

Bucketizer
struct Bucketizer(Allocator, size_t min, size_t max, size_t step)

A Bucketizer uses distinct allocators for handling allocations of sizes in the intervals [min, min + step - 1], [min + step, min + 2 * step - 1], [min + 2 * step, min + 3 * step - 1], ..., [max - step + 1, max].

Meta