Registry / utility / savsgio-dictpool

savsgio-dictpool

JSON →
library0.0.0-20221023140959-7bf2e61cea94gogounverified

A sync.Pool-based dictionary for efficient reuse of map objects in Go.

go get github.com/savsgio/dictpool
INSTALL
IMPORT
SIG · SAVSGIO-DICTPOOL
S
savsgio-dictpool
utilitygov0.0.0-20221023140959-7bf2e61cea94
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.

dictpool
github.com/savsgio/dictpool

Get and put a dictionary from the pool.

import "github.com/savsgio/dictpool" func main() { dp := dictpool.New() d := dp.Get() d.Set("key", "value") dp.Put(d) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20221023140959-7bf2e61cea94latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Resources
savsgio-dictpool — go get savsgio-dictpool · libregistry