Raven Engine v0.1
Loading...
Searching...
No Matches
MalevolentAllocator.h File Reference

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

Detailed Description

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.

See also
AllocatorTraits.h, Scope.h
Author
PhilikusHD