func BenchmarkBPT(b *testing.B) { t := bpt.NewTree() for i := 0; i < b.N; i++ { x := bpt.UUID() t.Set(x, x) } }
func BenchmarkBPlusTree(b *testing.B) { t := bplus.NewTree(bytes.Compare) for i := 0; i < b.N; i++ { x := bpt.UUID() t.Set(x, x) } }
func init() { for i := 0; i < size; i++ { data[i] = bpt.UUID() } }