Skip to content

Create a custom allocator class #55

Closed

Description

@Raelr

Description

One method for tracking memory allocations in Siege is through the use of custom memory allocators. One of the most common types of memory allocators is the PoolAllocator - which maintains a pool of memory which can be accessed by various elements in the application. A most basic form of this would be a class which stores a void pointer of raw data and tracks available allocations via a list of 'Partitions'. When memory is needed, we simply ask the allocator for a chunk of memory which we then use for the data that we wish to use.

Activity

  1. added
    enhancementNew feature or request
    renderRelating to the engine's renderer
    on Jul 28, 2023
  2. self-assigned this
    on Jul 28, 2023
  3. changed the title [-]Create a PoolAllocator class[/-] [+]Create a custom allocator class[/+] on Oct 19, 2025
  4. added
    utilsRelating to the engine's utils
    and removed
    renderRelating to the engine's renderer
    on Oct 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestutilsRelating to the engine's utils

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions