iter 完成修复
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user