mem.Dynamic_Pool feels misnamed #2717
Beefster09
started this conversation in
General
Replies: 2 comments
-
|
#4209 Adresses this |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
The Dynamic Pool is indeed a misnomer. For now the proposed solution is to rename it to dynamic arena, but keep the old aliases for a while. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I started using this thinking that this was a pool allocator - i.e. an allocator that operates on equal-size chunks of memory, but as it turns out from what I can see in the source, it seems this is more like a growable arena allocator, but it's not even ideal as a temp allocator because its free_all operation actually frees all blocks instead of just resetting the pool.
I propose that the struct and associated procs should be renamed to Dynamic_Arena or something along those lines.
Beta Was this translation helpful? Give feedback.
All reactions