diff options
Diffstat (limited to 'trie/trie_test.go')
-rw-r--r-- | trie/trie_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/trie/trie_test.go b/trie/trie_test.go index d00671c6a..9a21fd805 100644 --- a/trie/trie_test.go +++ b/trie/trie_test.go @@ -497,6 +497,7 @@ func BenchmarkUpdate(b *testing.B) { b.ResetTimer() for i := 0; i < b.N; i++ { - trie.Update(fmt.Sprintf("aaaaaaaaaaaaaaa%d", j), "value") + trie.Update(fmt.Sprintf("aaaaaaaaaaaaaaa%d", i), "value") } + fmt.Println(trie.root) } |