containerd/vendor/github.com/beorn7/perks
Sebastiaan van Stijn 77a3780c25
vendor: bump beorn7/perks v1.0.1
full diff: 4c0e84591b...v1.0.1

- beorn7/perks#3 Avoid iterating on maps
    - Speed up InsertTargeted* functions by at least 2x by avoiding iterating on maps.
- beorn7/perks#4 Fixed format error
- Use 1000000 instead of 1e6 for int constant
- Add go module support

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-01-13 15:05:45 +01:00
..
quantile vendor: bump beorn7/perks v1.0.1 2020-01-13 15:05:45 +01:00
go.mod vendor: bump beorn7/perks v1.0.1 2020-01-13 15:05:45 +01:00
LICENSE Add vendoring to containerd master 2017-01-11 16:59:06 -05:00
README.md clean up unused nats code 2017-02-20 05:28:09 +00:00

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 LabsResearch), S. Muthukrishnan (Rutgers University), and Divesh Srivastava (AT&T LabsResearch) 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.