aboutsummaryrefslogtreecommitdiffstats
path: root/trie
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-11-18 19:18:27 +0800
committerobscuren <geffobscura@gmail.com>2014-11-18 19:18:27 +0800
commite08aba5dd9f1e481aab18c6c062c97e0e400f75b (patch)
tree491d0f51f80d99d52cf5266d5d4c2f656f4155e7 /trie
parent34f29d57b6790a38019a8bcef51a6e91d2945cbe (diff)
downloaddexon-e08aba5dd9f1e481aab18c6c062c97e0e400f75b.tar
dexon-e08aba5dd9f1e481aab18c6c062c97e0e400f75b.tar.gz
dexon-e08aba5dd9f1e481aab18c6c062c97e0e400f75b.tar.bz2
dexon-e08aba5dd9f1e481aab18c6c062c97e0e400f75b.tar.lz
dexon-e08aba5dd9f1e481aab18c6c062c97e0e400f75b.tar.xz
dexon-e08aba5dd9f1e481aab18c6c062c97e0e400f75b.tar.zst
dexon-e08aba5dd9f1e481aab18c6c062c97e0e400f75b.zip
added output test
Diffstat (limited to 'trie')
-rw-r--r--trie/trie_test.go3
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)
}