More fixes & performance improvements

Still havent figured out the realloc issue with virtual arenas... But the fixes the slab perforamnce mitigate it at least.
This commit is contained in:
2024-03-12 02:32:16 -04:00
parent 8b8c4948ad
commit b4c6fd1866
11 changed files with 58 additions and 64 deletions

View File

@ -37,6 +37,7 @@ import "core:mem"
AllocatorModeSet :: mem.Allocator_Mode_Set
alloc :: mem.alloc
alloc_bytes :: mem.alloc_bytes
alloc_bytes_non_zeroed :: mem.alloc_bytes_non_zeroed
Arena :: mem.Arena
arena_allocator :: mem.arena_allocator
arena_init :: mem.arena_init
@ -46,6 +47,7 @@ import "core:mem"
is_power_of_two_uintptr :: mem.is_power_of_two
ptr_offset :: mem.ptr_offset
resize :: mem.resize
reisze_non_zeroed :: mem.default_resize_bytes_align_non_zeroed
slice_ptr :: mem.slice_ptr
TrackingAllocator :: mem.Tracking_Allocator
tracking_allocator :: mem.tracking_allocator