Commit Graph

5 Commits

Author SHA1 Message Date
Aryadev Chavali
46f62c5d2c 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.
2024-11-01 07:48:19 +00:00
Aryadev Chavali
f0f1e06e1e VEC_MULT may be set as user, so have a #if guard. 2024-10-24 03:17:54 +01:00
Aryadev Chavali
3a8f0c8d00 Use VEC_MULT in vec_ensure_remaining 2024-10-24 03:13:14 +01:00
Aryadev Chavali
14dea7c48c Clean up macros in vec.h 2024-10-24 03:13:03 +01:00
Aryadev Chavali
6ca508851a Vector library 2024-10-01 05:21:59 +01:00