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