diff options
author | Mario Forzanini <mf@marioforzanini.com> | 2024-07-02 15:40:26 +0200 |
---|---|---|
committer | Mario Forzanini <mf@marioforzanini.com> | 2024-07-02 15:40:26 +0200 |
commit | 8d1d1ae72226d309d23df4cefca737e8df7ab19b (patch) | |
tree | 38fc0d085481bf101434cbd202ff4465a879b3a6 /?id=8d1d1ae72226d309d23df4cefca737e8df7ab19b | |
parent | b2a7b6181c6f879d5da092cda8529cb9cf2bdb46 (diff) |
Refactor arena allocation
- Rename Region -> Arena
- Construct arena out of pointers to the beginning, the end, and the
current element in a memory buffer. This allows us to pass arenas by
copy when we want to work with a temporary memory region.
- Fix the size of the arena at compile time.
Diffstat (limited to '?id=8d1d1ae72226d309d23df4cefca737e8df7ab19b')
0 files changed, 0 insertions, 0 deletions