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

@ -319,8 +319,8 @@ ui_reload :: proc( ui : ^ UI_State, cache_allocator : Allocator )
{
// We need to repopulate Allocator references
for cache in & ui.caches {
cache.entries.allocator = cache_allocator
cache.hashes.allocator = cache_allocator
cache.entries.backing = cache_allocator
cache.hashes.backing = cache_allocator
}
}