Registry / utility / mostynb-zstdpool-freelist

mostynb-zstdpool-freelist

JSON →
library0.0.0-20201229113212-927304c0c3b1gogounverified

Provides goroutine-safe pools for zstd Encoder and Decoder to avoid goroutine leaks.

go get github.com/mostynb/zstdpool-freelist
INSTALL
IMPORT
SIG · MOSTYNB-ZSTDPOOL-F
M
mostynb-zstdpool-freelist
utilitygov0.0.0-20201229113212-927304c0c3b1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

zstdpool
github.com/mostynb/zstdpool-freelist

Get an Encoder from the pool and return it.

package main import ( "github.com/mostynb/zstdpool-freelist" ) func main() { pool := zstdpool.NewEncoderPool() enc := pool.Get() defer pool.Put(enc) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20201229113212-927304c0c3b1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
mostynb-zstdpool-freelist — go get mostynb-zstdpool-freelist · libregistry