Commit Graph

10 Commits

Author SHA1 Message Date
roodletoof 9214b986ac retab everything to use tabs 2025-12-03 19:38:43 +01:00
roodletoof 83a8526a78 update 2025-12-03 18:26:32 +01:00
roodletoof 01b8150625 refactor
remove the free function entirely. all allocators are now expected to
implement reset instead. I reallized I never ever want to free an
individual allocation ever again. The forever_allocator is a special
case wherEreset is a no-op. The arena allocator was deleted. It will be
replaced soon.
2025-12-02 20:21:12 +01:00
roodletoof d4451196f6 some progress on the arena allocator 2025-11-18 21:54:38 +01:00
roodletoof c240443828 rename allocator to cig 2025-10-11 03:31:23 +02:00
roodletoof 20cac1737e use special valgrind option to detect memory leaks
I am hoping that this task fails now
2025-10-11 03:18:34 +02:00
roodletoof 86d5110b0b minor changes to tests 2025-10-10 20:31:20 +02:00
roodletoof c5d6d2ff08 add todo message
something is wrong with the allocation detection???
2025-10-10 20:18:19 +02:00
roodletoof 3e80bd2cfd with_borrow macros
this allows for scope-based heap allocations. There is one limitation.
You cannot use the return keyword inside the following block. This trick
uses dark macro magic :)
2025-10-10 20:13:15 +02:00
roodletoof a20833f4ee borrow allocator implementation 2025-10-08 22:16:31 +02:00