• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.travis.ymlH A D17-Aug-2016258

LICENSEH A D17-Aug-20161.1 KiB

README.mdH A D17-Aug-2016930

bytebuffer.goH A D17-Aug-20162.3 KiB

bytebuffer_example_test.goH A D17-Aug-2016396

bytebuffer_test.goH A D17-Aug-20163 KiB

bytebuffer_timing_test.goH A D17-Aug-2016512

doc.goH A D17-Aug-2016284

pool.goH A D17-Aug-20162.9 KiB

pool_test.goH A D17-Aug-20161.7 KiB

README.md

1[![Build Status](https://travis-ci.org/valyala/bytebufferpool.svg)](https://travis-ci.org/valyala/bytebufferpool)
2[![GoDoc](https://godoc.org/github.com/valyala/bytebufferpool?status.svg)](http://godoc.org/github.com/valyala/bytebufferpool)
3[![Go Report](http://goreportcard.com/badge/valyala/bytebufferpool)](http://goreportcard.com/report/valyala/bytebufferpool)
4
5# bytebufferpool
6
7An implementation of a pool of byte buffers with anti-memory-waste protection.
8
9The pool may waste limited amount of memory due to fragmentation.
10This amount equals to the maximum total size of the byte buffers
11in concurrent use.
12
13# Benchmark results
14Currently bytebufferpool is fastest and most effective buffer pool written in Go.
15
16You can find results [here](https://omgnull.github.io/go-benchmark/buffer/).
17
18# bytebufferpool users
19
20* [fasthttp](https://github.com/valyala/fasthttp)
21* [quicktemplate](https://github.com/valyala/quicktemplate)
22