Andrei Alexeyev
|
787773a53b
|
memory/arena: add snapshot and rollback APIs
|
2024-09-10 14:31:55 +02:00 |
|
Andrei Alexeyev
|
5e0d85af1b
|
memory/arena: add opportunistic free and realloc functions
|
2024-09-10 14:31:55 +02:00 |
|
Andrei Alexeyev
|
1fc752531a
|
memory/arena: fix alignment offset calculation
Previously would add an unnecessary padding equal to alignment if the
pointer is already sufficiently aligned
|
2024-09-10 14:31:55 +02:00 |
|
Andrei Alexeyev
|
1ca51a6690
|
memory/arena: fix page size calculation
|
2024-09-10 14:31:55 +02:00 |
|
Andrei Alexeyev
|
1f05199456
|
memory/arena: add marena_alloc_array_aligned()
|
2024-08-30 11:52:47 +02:00 |
|
Andrei Alexeyev
|
8b37d1cbf2
|
src: the great #include massacre of 2024
|
2024-05-17 14:11:48 +02:00 |
|
Andrei Alexeyev
|
be7905d6a3
|
src: run upkeep
|
2024-05-17 04:58:47 +02:00 |
|
Andrei Alexeyev
|
8f8ca2beca
|
all: use min/max macros; avoid some unnecessary conversions
|
2023-09-28 17:43:14 +02:00 |
|
Andrei Alexeyev
|
8547f443b7
|
memory: basic arena allocator primitive
|
2023-04-03 01:53:36 +02:00 |
|