-
|
Hello, Can you explain your memory_arena struct? |
Beta Was this translation helpful? Give feedback.
Answered by
bagaffey
Sep 13, 2025
Replies: 1 comment
-
|
Yeah, the struct memory_arena has 4 members.
You can think of an arena as a region of memory where things can be allocated linearly. You won't need to individually free things later. Instead, you can reset the arena or completely discard whole blocks of it. |
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
Yeah, the struct memory_arena has 4 members.
They are:
You can think of an arena as a region of memory where things can be allocated linearly. You won't need to individually free things later. Instead, you can reset the arena or completely discard whole blocks of it.