From fd44001456e6954fda7138ca244c26371809ee9f Mon Sep 17 00:00:00 2001 From: Ed_ Date: Tue, 5 Mar 2024 10:18:38 -0500 Subject: [PATCH] Added vmem arena file Going to need to roll my own for my use case. --- code/grime_vmem_arena.odin | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 code/grime_vmem_arena.odin diff --git a/code/grime_vmem_arena.odin b/code/grime_vmem_arena.odin new file mode 100644 index 0000000..749f234 --- /dev/null +++ b/code/grime_vmem_arena.odin @@ -0,0 +1,10 @@ +/* +Odin's virtual arena allocator doesn't do what I ideally want for allocation resizing or growing from a large vmem reserve. + +So this is a simple virtual memory backed arena allocator designed +to take advantage of one large contigous reserve of memory. +With the expectation that resizes with its interface will only occur using the last allocated block. +*/ +package sectr + +