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: 11 days 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 (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-08-07T19:14:57.000Z (almost 2 years ago)
- Last Synced: 2024-02-22T01:33:23.504Z (4 months ago)
- Language: Go
- Homepage:
- Size: 17.6 KB
- Stars: 1,081
- Watchers: 15
- Forks: 126
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- go-awesome - bytebufferpool - byte buffers pool (开源类库 / 开发辅助包)
- awesome-stars - bytebufferpool - memory-waste byte buffer pool | valyala | 1138 | (Go)
- 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)