Commit Graph

13 Commits

Author SHA1 Message Date
Ole Morud
cf964c4dcc optimize shrinking reallocs 2023-06-17 12:14:28 +02:00
Ole Morud
b3638c3c00 Update makefile and fix analzer complaints 2023-06-05 22:36:42 +02:00
Ole Morud
1fd96ff1ce Fix arena_tail_realloc memory bug
`arena_realloc_tail` exceeding PAGE_SIZE would create a big page,
preceeding calls to `arena_realloc_tail` would then cause memory bugs.
2023-06-05 22:26:10 +02:00
Ole Morud
0cde95de64 Rewrite arena as linked list of pages 2023-06-05 22:26:10 +02:00
Ole Morud
ac8193eb8b Remove print statement 2023-06-05 22:26:08 +02:00
Ole Morud
279618f52d Add arena_free() 2023-06-05 22:26:04 +02:00
Ole Morud
90f72e9593 Add arena_delete() 2023-06-05 22:26:00 +02:00
Ole Morud
c71788ba72 Rewrite everything 2023-06-05 22:26:00 +02:00
Ole Morud
f8c0db9937 Add arena_realloc_tail() 2023-06-03 11:37:06 +02:00
olemorud
42cb5d0c4e Add and run WebKit based clang-format 2023-05-15 22:25:54 +02:00
olemorud
22fb643c0f Update arena.c, arena.h 2023-05-15 20:00:12 +02:00
olemorud
6d9059aefc remove memcpy use 2023-05-15 01:02:09 +02:00
olemorud
5e92c4eaea Add makefile and restructure 2023-05-14 23:57:05 +02:00