std1.0.0-beta-7 SafeC docs

Module alloc

Modules

allocatorSafeC Standard Library — allocation traits shared by every allocator.
bumpSafeC Standard Library — Bump Allocator O(1) alloc, O(1) reset. No individual free — reset reclaims all. Conforms to ArenaAllocator (allocator.h), and to Allocator with a no-op dealloc: typed allocation is alloc_t / alloc_array_t there.
poolSafeC Standard Library — Pool Allocator Variable-size first-fit allocator with coalescing on free. Each allocation is preceded by a PoolBlock header. Conforms to Allocator and ArenaAllocator (allocator.h): typed allocation is alloc_t / alloc_array_t / dealloc_t there.
slabSafeC Standard Library — 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.
tlsfSafeC Standard Library — TLSF (Two-Level Segregated Fit) Allocator O(1) real-time allocator with bounded fragmentation. Uses a two-level bitmap index for fast size-class lookup. Conforms to Allocator and ArenaAllocator (allocator.h): typed allocation is alloc_t / alloc_array_t / dealloc_t there.