-
|
What is the allocation strategy of your allocator in your C23 solution? |
Beta Was this translation helpful? Give feedback.
Answered by
bagaffey
Sep 16, 2025
Replies: 1 comment
-
|
In the allocator, mem allocation is handled by PushSize_.
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
btgvesta
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the allocator, mem allocation is handled by PushSize_.
If there's not enough space, it allocates a new memory block at either the minimum or big enough size. It then chains this block onto the memory arena.
ArenaFlag_ClearToZero), the new memory block is zero initialized.