![]() |
Raven Engine v0.1
|
Pool-based allocator using fixed-size chunks ("Malevolent Allocation"). More...
#include "Raven/Core/Types.h"Classes | |
| class | Raven::MalevolentAllocator |
| Fixed-size chunk pool allocator. More... | |
Namespaces | |
| namespace | Raven |
Pool-based allocator using fixed-size chunks ("Malevolent Allocation").
Implements a simple pool allocator that pre-allocates a contiguous block of memory divided into equal-sized chunks. Allocation and deallocation operate in constant time via a free list. This allocator is useful for fast, repetitive allocations of objects with identical size requirements.