diff options
author | obscuren <geffobscura@gmail.com> | 2014-11-18 19:18:27 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-11-18 19:18:27 +0800 |
commit | e08aba5dd9f1e481aab18c6c062c97e0e400f75b (patch) | |
tree | 491d0f51f80d99d52cf5266d5d4c2f656f4155e7 /trie | |
parent | 34f29d57b6790a38019a8bcef51a6e91d2945cbe (diff) | |
download | go-tangerine-e08aba5dd9f1e481aab18c6c062c97e0e400f75b.tar go-tangerine-e08aba5dd9f1e481aab18c6c062c97e0e400f75b.tar.gz go-tangerine-e08aba5dd9f1e481aab18c6c062c97e0e400f75b.tar.bz2 go-tangerine-e08aba5dd9f1e481aab18c6c062c97e0e400f75b.tar.lz go-tangerine-e08aba5dd9f1e481aab18c6c062c97e0e400f75b.tar.xz go-tangerine-e08aba5dd9f1e481aab18c6c062c97e0e400f75b.tar.zst go-tangerine-e08aba5dd9f1e481aab18c6c062c97e0e400f75b.zip |
added output test
Diffstat (limited to 'trie')
-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) } |