[utils] tracking keys added in trie construction from hash
This commit is contained in:
@@ -40,6 +40,9 @@ trie_t *trie_new_from_hash(khash_t(str_uint32) *hash) {
|
|||||||
trie_destroy(trie);
|
trie_destroy(trie);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
if (i % 100000 == 0 && i > 0) {
|
||||||
|
log_info("added %zu keys to trie\n");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
string_array_destroy(hash_keys);
|
string_array_destroy(hash_keys);
|
||||||
|
|||||||
Reference in New Issue
Block a user