Converted string cache table to use HMapChained, initial impl for ui_box_traverse_next_layer_based

This commit is contained in:
2024-06-21 16:33:15 -04:00
parent a560222d5d
commit 2b83b69745
7 changed files with 122 additions and 25 deletions

View File

@ -72,6 +72,9 @@ pool_list_push_front :: proc( pool : ^PoolList, value : PoolListValue )
assert( free_list.num == u64(capacity - size) )
id := array_back( free_list )
if pool.dbg_name != "" {
logf("pool_list: back %v", id)
}
array_pop( free_list )
items.data[ id ].prev = -1
items.data[ id ].next = front