{"id":51727,"library":"bmizerany-perks","title":"Perks","description":"Package perks provides efficient data structures including quantile estimation and top-k tracking.","status":"active","version":"0.0.0-20230307044200-03f9df79da1e","language":"go","source_language":null,"source_url":"https://github.com/bmizerany/perks","tags":["data-structures","quantile","top-k","statistics"],"install":[{"cmd":"go get github.com/bmizerany/perks","lang":"bash","label":"Install github.com/bmizerany/perks"}],"dependencies":[],"imports":[{"symbol":"perks","correct":"github.com/bmizerany/perks"}],"quickstart":{"code":"package main\n\nimport (\n    \"github.com/bmizerany/perks/quantile\"\n)\n\nfunc main() {\n    q := quantile.NewTargeted(0.5, 0.9, 0.99)\n    for _, v := range []float64{1, 2, 3, 4, 5} {\n        q.Insert(v)\n    }\n}","lang":"go","description":"Compute quantiles using the quantile package"},"warnings":[],"env_vars":null,"search_vec":"'data':6,17 'data-structur':16 'effici':5 'estim':10 'includ':8 'k':14,22 'packag':2 'perk':1,3 'provid':4 'quantil':9,19 'statist':23 'structur':7,18 'top':13,21 'top-k':12,20 'track':15","created_at":"2026-06-15T06:27:39.645611+00:00","updated_at":"2026-06-15T06:27:39.645611+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/bmizerany/perks","github":"https://github.com/bmizerany/perks","docs":"https://pkg.go.dev/github.com/bmizerany/perks#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}