Skip to content

Commit

Permalink
Remove Buffer from Badger/y. Moved to Ristretto/z.
Browse files Browse the repository at this point in the history
  • Loading branch information
manishrjain committed Aug 28, 2020
1 parent 36596df commit 8397bd9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 227 deletions.
116 changes: 0 additions & 116 deletions y/buffer.go

This file was deleted.

102 changes: 0 additions & 102 deletions y/buffer_test.go

This file was deleted.

9 changes: 0 additions & 9 deletions y/y_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,6 @@ func BenchmarkBuffer(b *testing.B) {
}
})

b.Run("calloc-buffer", func(b *testing.B) {
buf := NewBuffer(pageSize)
defer buf.Release()

for i := 0; i < b.N; i++ {
buf.Write(btw[:])
}
})

b.Run("page-buffer", func(b *testing.B) {
b.Run(fmt.Sprintf("page-size-%d", pageSize), func(b *testing.B) {
pageBuffer := NewPageBuffer(pageSize)
Expand Down

0 comments on commit 8397bd9

Please sign in to comment.