# README
fastbuffer-go
fastbuffer-go is type alias to [][]byte but holds the sync.Mutex and do not free []byte to os which can reduce memory allocation.
go test -v -benchmem -run="^$" github.com/detailyang/fastbuffer-go -bench "^Benchmark"
goos: darwin
goarch: amd64
pkg: github.com/detailyang/fastbuffer-go
BenchmarkBatchFastBuffer-8 3265705 357 ns/op 41.96 MB/s 0 B/op 0 allocs/op
PASS
ok github.com/detailyang/fastbuffer-go 1.556s