diff --git a/code/custom/4coder_code_index.cpp b/code/custom/4coder_code_index.cpp index 06466822..31b6e8a2 100644 --- a/code/custom/4coder_code_index.cpp +++ b/code/custom/4coder_code_index.cpp @@ -208,20 +208,6 @@ code_index_unlock(void){ system_mutex_release(global_code_index.mutex); } -function void -code_index__hash_file(Code_Index_File *file){ -// TODO(PS): @RemoveWholeFileHashing - this isn't necessary since, to support incremental updates -// we insert nodes into the hash table when the node is created -#if 0 - for (Code_Index_Note *node = file->note_list.first; - node != 0; - node = node->next){ - Code_Index_Note_List_New *list = code_index__list_from_string(node->text); - code_index_note_list_hash_insert(list, list->sentinel_last.prev_in_hash, node); - } -#endif -} - function void code_index__clear_file(Code_Index_File *file){ for (Code_Index_Note *node = file->note_list.first; @@ -249,8 +235,6 @@ code_index_set_file(Buffer_ID buffer, Arena arena, Code_Index_File *index){ } storage->arena = arena; storage->file = index; - - code_index__hash_file(index); } function void