summaryrefslogtreecommitdiff
path: root/vec.h
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-11-01 07:48:19 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-11-01 07:48:19 +0000
commit46f62c5d2c789fd6122daa02efcc4dff10f6a2b5 (patch)
tree70d64df5f43e6338a071299b3a7465d30c51b260 /vec.h
parentf0f1e06e1ee21dc5260da7d40f5a029bd71596aa (diff)
downloadprick-46f62c5d2c789fd6122daa02efcc4dff10f6a2b5.tar.gz
prick-46f62c5d2c789fd6122daa02efcc4dff10f6a2b5.tar.bz2
prick-46f62c5d2c789fd6122daa02efcc4dff10f6a2b5.zip
Simple arena implementation using singly linked list
Manages individual allocations via a bump allocator (region), with unfit allocations triggering a new region allocation that is added to a linked list. Any new region allocations will always be oversized for the initially requested size, to amortize the cost of future allocations.
Diffstat (limited to 'vec.h')
0 files changed, 0 insertions, 0 deletions