diff --git a/src/small_allocator.c b/src/small_allocator.c index 61586c5..295f0ca 100644 --- a/src/small_allocator.c +++ b/src/small_allocator.c @@ -8,10 +8,8 @@ * - Allocated pointers are aligned to 16 bytes. * - Backing buffer must be aligned to 16 bytes start * - 4Gb - 16 is max for the allocator backing buffer. - * - An allocation "wastes" 16 bytes for the block header * - Allocation of > 0 bytes returns a size aligned up to 16 bytes * - Allocation of 0 bytes returns a valid pointer with 0 usable space - * * The allocator maintains a doubly linked list of blocks, * when blocks are free'd, adjacent blocks are merged to keep * fragmentation to a minimum