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 /%25253fid%25253de09d746e52ade0bfc9bcd7dbb5b9a617edb622b2%253fid%253de09d746e52ade0bfc9bcd7dbb5b9a617edb622b2%3fid%3d9f9d8c332eb32d02075fa7fba33bbfb7d8bbe4fd?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 '%25253fid%25253de09d746e52ade0bfc9bcd7dbb5b9a617edb622b2%253fid%253de09d746e52ade0bfc9bcd7dbb5b9a617edb622b2%3fid%3d9f9d8c332eb32d02075fa7fba33bbfb7d8bbe4fd?id=8d1d1ae72226d309d23df4cefca737e8df7ab19b')
0 files changed, 0 insertions, 0 deletions