Registry / utility / bmizerany-perks

bmizerany-perks

JSON →
library0.0.0-20230307044200-03f9df79da1egogounverified

Package perks provides efficient data structures including quantile estimation and top-k tracking.

go get github.com/bmizerany/perks
INSTALL
IMPORT
SIG · BMIZERANY-PERKS
B
bmizerany-perks
utilitygov0.0.0-20230307044200-03f9df79da1e
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.

perks
github.com/bmizerany/perks

Compute quantiles using the quantile package

package main import ( "github.com/bmizerany/perks/quantile" ) func main() { q := quantile.NewTargeted(0.5, 0.9, 0.99) for _, v := range []float64{1, 2, 3, 4, 5} { q.Insert(v) } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20230307044200-03f9df79da1elatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
bmizerany-perks — go get bmizerany-perks · libregistry