A small collection of functions and allocators to help manage allocated memory and reduce memory allocations.
mem_arena
: a chunk of pre-allocated memory, from which memory can be requested in arbitrary sizes, but only freed all at oncemem_stack
: manages a memory block populated with data type(s) of the same size, which can be allocated and releasedmem_pool
: manages a memory block from which memory can be allocated and released in arbitrary size, in the same way a stack would