Helios Engine
A modular ECS based data-oriented C++23 game engine framework
Loading...
Searching...
No Matches
helios::mem::FreeListAllocatorOptions Struct Reference

Configuration for FreeListAllocator. More...

#include <free_list_allocator.hpp>

Public Attributes

size_t initial_capacity = 0
 Capacity of the initial backing region in bytes.
GrowthPolicy growth = GrowthPolicy::Geometric()
 Growth policy applied when additional regions are required.

Detailed Description

Configuration for FreeListAllocator.

Definition at line 16 of file free_list_allocator.hpp.

Member Data Documentation

◆ growth

GrowthPolicy helios::mem::FreeListAllocatorOptions::growth = GrowthPolicy::Geometric()

Growth policy applied when additional regions are required.

Definition at line 20 of file free_list_allocator.hpp.

◆ initial_capacity

size_t helios::mem::FreeListAllocatorOptions::initial_capacity = 0

Capacity of the initial backing region in bytes.

Definition at line 18 of file free_list_allocator.hpp.