this repo has no description

add zig arena use cases

kacaii.dev af2f9998 4a4cf757

verified
+8
+8
zig-arena-allocator.md
··· 16 16 self.arena_allocator.deinit(); 17 17 } 18 18 ``` 19 + 20 + ## Use cases 21 + 22 + - A short-lived scratch space storing intermediate results in a function, 23 + which is reset before/just after the function returns. 24 + - Long-lived “subsystem” arena which is used to allocate return values for 25 + the caller. 26 + - A permanent arena which is never freed.