Arena allocation make deallocation of nested structed MUCH faster, and improves the spatial locality of allocations. It makes no sense to deallocate only parts of a JSON structure so arenas are a good fit here.
4 lines
109 B
Plaintext
4 lines
109 B
Plaintext
[submodule "arena-allocator"]
|
|
path = arena-allocator
|
|
url = https://github.com/olemorud/arena-allocator.git
|