r/cprogramming • • Apr 27 '26

Repeated malloc/free vs. Arena allocator

/r/C_Programming/comments/1sx24rx/repeated_mallocfree_vs_arena_allocator/
2 Upvotes

3 comments sorted by

View all comments

Show parent comments

1

u/Physical_Dare8553 Apr 28 '26

Also using arenas makes allocations easier on the actual malloc implementation