Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/valyala/bytebufferpool
Anti-memory-waste byte buffer pool
https://github.com/valyala/bytebufferpool
Last synced: about 24 hours ago
JSON representation
Anti-memory-waste byte buffer pool
- Host: GitHub
- URL: https://github.com/valyala/bytebufferpool
- Owner: valyala
- License: mit
- Created: 2016-06-22T17:27:17.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-07-20T20:15:17.000Z (6 months ago)
- Last Synced: 2024-10-29T11:02:07.647Z (3 months ago)
- Language: Go
- Homepage:
- Size: 17.6 KB
- Stars: 1,181
- Watchers: 15
- Forks: 132
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- go-awesome - bytebufferpool - byte buffer pool (Open source library / Development Aid Package)
README
[![Build Status](https://travis-ci.org/valyala/bytebufferpool.svg)](https://travis-ci.org/valyala/bytebufferpool)
[![GoDoc](https://godoc.org/github.com/valyala/bytebufferpool?status.svg)](http://godoc.org/github.com/valyala/bytebufferpool)
[![Go Report](http://goreportcard.com/badge/valyala/bytebufferpool)](http://goreportcard.com/report/valyala/bytebufferpool)# bytebufferpool
An implementation of a pool of byte buffers with anti-memory-waste protection.
The pool may waste limited amount of memory due to fragmentation.
This amount equals to the maximum total size of the byte buffers
in concurrent use.# Benchmark results
Currently bytebufferpool is fastest and most effective buffer pool written in Go.You can find results [here](https://omgnull.github.io/go-benchmark/buffer/).
# bytebufferpool users
* [fasthttp](https://github.com/valyala/fasthttp)
* [quicktemplate](https://github.com/valyala/quicktemplate)