valyala/bytebufferpool

GitHub: valyala/bytebufferpool

一个带有防内存浪费机制的高性能 Go 字节缓冲区池,通过对象复用减少内存分配开销和碎片化。

Stars: 1331 | Forks: 143

[![构建状态](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 一个带有防止内存浪费保护的 byte buffer 池实现。 该池可能会由于碎片化而浪费有限的内存。 该内存量等于并发使用的 byte buffer 的最大总大小。 # 基准测试结果 目前 bytebufferpool 是用 Go 编写的最快且最有效的 buffer 池。 你可以在[这里](https://omgnull.github.io/go-benchmark/buffer/)查看结果。 # bytebufferpool 用户 * [fasthttp](https://github.com/valyala/fasthttp) * [quicktemplate](https://github.com/valyala/quicktemplate)
标签:EVTX分析, Go, Ruby工具, SOC Prime, 内存管理, 字节缓冲池, 开发工具, 性能优化, 日志审计, 检测绕过