Clone this repo:
  1. 37c8de3 Lower Go requirement in go.mod by beorn7 · 5 years ago master v1.0.1
  2. 4b2b341 Create v1.0.0 (to play better with go modules) by Bjoern Rabenstein · 5 years ago v1.0.0
  3. 4cf9acf Add go module support by Bjoern Rabenstein · 5 years ago
  4. e7f67b5 Use 1000000 instead of 1e6 for int constant by Bjoern Rabenstein · 5 years ago
  5. 234731a Merge pull request #4 from vatine/master by Björn Rabenstein · 5 years ago

Perks for Go (golang.org)

Perks contains the Go package quantile that computes approximate quantiles over an unbounded data stream within low memory and CPU bounds.

For more information and examples, see: http://godoc.org/github.com/bmizerany/perks

A very special thank you and shout out to Graham Cormode (Rutgers University), Flip Korn (AT&T Labs–Research), S. Muthukrishnan (Rutgers University), and Divesh Srivastava (AT&T Labs–Research) for their research and publication of Effective Computation of Biased Quantiles over Data Streams

Thank you, also:

  • Armon Dadgar (@armon)
  • Andrew Gerrand (@nf)
  • Brad Fitzpatrick (@bradfitz)
  • Keith Rarick (@kr)

FAQ:

Q: Why not move the quantile package into the project root? A: I want to add more packages to perks later.

Copyright (C) 2013 Blake Mizerany

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.