diff options
author | David Robillard <d@drobilla.net> | 2025-06-07 11:58:06 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2025-06-07 11:58:06 -0400 |
commit | e4cd2ad74eaf230d2e0c2a38e5e9001eca71135a (patch) | |
tree | 97378fecd9698188fe21d3db1cae017f6a93ee29 /src/bump_allocator.c | |
parent | bb785b3daeba8d27116aeeb12be6e5b98539398d (diff) | |
download | zix-e4cd2ad74eaf230d2e0c2a38e5e9001eca71135a.tar.gz zix-e4cd2ad74eaf230d2e0c2a38e5e9001eca71135a.tar.bz2 zix-e4cd2ad74eaf230d2e0c2a38e5e9001eca71135a.zip |
Reduce empty BTree memory requirements
Avoid over-allocating the ZixBTree structure, and only allocate a root node
when elements are inserted. The over-allocation was to make all allocations use
pages (towards disk-backed storage), but since this isn't actually supported at
the moment it was just a waste of memory.
Diffstat (limited to 'src/bump_allocator.c')
0 files changed, 0 insertions, 0 deletions