{"id":62464,"library":"valyala-histogram","title":"Histogram","description":"Fast building blocks for creating histograms in Go.","status":"active","version":"1.2.0","language":"go","source_language":null,"source_url":"https://github.com/valyala/histogram","tags":["histogram","statistics","quantile","valyala"],"install":[{"cmd":"go get github.com/valyala/histogram","lang":"bash","label":"Install github.com/valyala/histogram"}],"dependencies":[],"imports":[{"symbol":"histogram","correct":"github.com/valyala/histogram"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/valyala/histogram\"\n)\n\nfunc main() {\n\th := histogram.New()\n\th.Add(1.0)\n\th.Add(2.0)\n\tfmt.Println(h.Quantile(0.5))\n}","lang":"go","description":"Creates a histogram, adds values, and computes a quantile."},"warnings":[],"env_vars":null,"search_vec":"'block':4 'build':3 'creat':6 'fast':2 'go':9 'histogram':1,7,10 'quantil':12 'statist':11 'valyala':13","created_at":"2026-06-17T16:30:50.114959+00:00","updated_at":"2026-06-17T16:30:50.114959+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/valyala/histogram","github":"https://github.com/valyala/histogram","docs":"https://pkg.go.dev/github.com/valyala/histogram#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-17","next_check":"2026-12-14","install_tag":null}}