eliminate extra root id list placement in key nodes

This commit is contained in:
Ryan Fleury
2025-05-20 10:53:02 -07:00
parent 56b975a6b1
commit 34df269c58
2 changed files with 0 additions and 4 deletions
-2
View File
@@ -345,8 +345,6 @@ hs_submit_data(HS_Key key, Arena **data_arena, String8 data)
chunk->v = push_array_no_zero(n->arena, HS_ID, chunk->cap);
}
chunk->v[chunk->count] = key.id;
key_node->root_id_chunk_node = chunk;
key_node->root_id_chunk_idx = chunk->count;
chunk->count += 1;
n->ids.total_count += 1;
break;
-2
View File
@@ -109,8 +109,6 @@ struct HS_KeyNode
{
HS_KeyNode *next;
HS_KeyNode *prev;
HS_RootIDChunkNode *root_id_chunk_node;
U64 root_id_chunk_idx;
HS_Key key;
U128 hash_history[HS_KEY_HASH_HISTORY_COUNT];
U64 hash_history_gen;