From 5113a1bc3264410222c62e349f24b9be7fd7f8a1 Mon Sep 17 00:00:00 2001 From: Al Date: Mon, 6 Mar 2017 15:28:26 -0500 Subject: [PATCH] [utils] tracking keys added in trie construction from hash --- src/trie_utils.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/trie_utils.c b/src/trie_utils.c index e492e896..116519ba 100644 --- a/src/trie_utils.c +++ b/src/trie_utils.c @@ -40,6 +40,9 @@ trie_t *trie_new_from_hash(khash_t(str_uint32) *hash) { trie_destroy(trie); return NULL; } + if (i % 100000 == 0 && i > 0) { + log_info("added %zu keys to trie\n"); + } } string_array_destroy(hash_keys);