valyala/bytebufferpool

Anti-memory-waste byte buffer pool

Go

1,333

30 commits

updated Jul 20, 2024

See the code

README

Build Status GoDoc Go Report

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.

bytebufferpool users

valyala/bytebufferpool

Anti-memory-waste byte buffer pool

Go

1,333

30 commits

updated Jul 20, 2024

See the code

README

Build Status GoDoc Go Report

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.

bytebufferpool users

Significant stargazers

罗泽轩

975 followers · starred Jan 2024

Max Kotliar

422 followers · starred Dec 2020

Cr.

62 followers · starred Mar 2023

Joe Williams

402 followers · starred Jun 2023