std1.0.0-beta-7 SafeC docs

Module alloc::slab

#include <std/alloc/slab.h> source

Slab Allocator Fixed-size object pool. O(1) alloc/free via embedded free-list. Conforms to Allocator and ArenaAllocator (allocator.h): typed allocation is alloc_t / dealloc_t there.

Structs

SlabAllocator