iter 完成修复

This commit is contained in:
2019-04-06 02:24:35 +08:00
parent 2f472ffded
commit 65621872f8
4 changed files with 28 additions and 21 deletions

View File

@@ -404,9 +404,8 @@ func BenchmarkGet(b *testing.B) {
b.ResetTimer()
b.StartTimer()
execCount := 500
execCount := 10
b.N = len(l) * execCount
b.Log(tree.size)
for i := 0; i < execCount; i++ {
for _, v := range l {
tree.Get(v)