Skip to content

Conversation

@Raelr
Copy link
Contributor

@Raelr Raelr commented Aug 24, 2025

Description

This PR introduces the TLSF allocator to Siege engine. This allocator allows us to allocate memory dynamically without needing to go through the standard new and delete functions. This also means that we can avoid memory allocation across our application when not necessary.

The PR has been...

  • provided a reasonable name that is not just the branch name (e.g "Added Vulkan render delegate")
  • linked to its related issue
  • assigned a reviewer from the team
  • labelled appropriately

The code has been...

  • made mergable and free of conflicts in relation to master (according to GitHub)
  • tested in a packaged state using the package targets
  • pulled to the reviewer's machine and reasonably tested

@Raelr Raelr requested a review from jonjondev August 24, 2025 22:23
@Raelr Raelr self-assigned this Aug 24, 2025
@Raelr Raelr added enhancement New feature or request utils Relating to the engine's utils labels Aug 24, 2025
@Raelr Raelr changed the title Tlsf alloc Added TLSF Allocator for dyamic heap allocation Aug 24, 2025
@Raelr Raelr force-pushed the tlsf-alloc branch 2 times, most recently from f112f5e to 12b07c4 Compare September 1, 2025 08:54
Copy link
Member

@jonjondev jonjondev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonably bulletproof - local run was fine. Just the few comments is all, but good to merge.

@Raelr Raelr marked this pull request as ready for review October 19, 2025 02:40
@jonjondev jonjondev linked an issue Oct 19, 2025 that may be closed by this pull request
@Raelr Raelr merged commit 16d5720 into main Oct 19, 2025
4 checks passed
@Raelr Raelr deleted the tlsf-alloc branch October 19, 2025 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request utils Relating to the engine's utils

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create a custom allocator class

3 participants