lbcutil/gcs
Olaoluwa Osuntokun e87fef40f3 gcs: ensure benchmarks aren't optimized away by the compiler
This commit modifies the benchmarks a bit to ensure that the
computations themselves aren’t optimized away. We do this by binding
each variable to a local variable, and them ultimately a variable at
the package level scope.
2018-05-15 19:14:18 -07:00
..
builder gcs/builder: an empty filter has a zero-hash 2018-05-15 19:14:18 -07:00
doc.go gcs: fix slight typo in docs, 2^-n not 2^-1 2018-05-15 19:14:18 -07:00
gcs.go gcs: pre-allocate capacity of slice for uncompressed filter values 2018-05-15 19:14:18 -07:00
gcs_test.go gcs: add some line spacing, wrap comments to 80 characters 2018-05-15 19:14:18 -07:00
gcsbench_test.go gcs: ensure benchmarks aren't optimized away by the compiler 2018-05-15 19:14:18 -07:00
README.md README.md fixes 2018-05-15 19:14:18 -07:00
uint64slice.go gcs: add some line spacing, wrap comments to 80 characters 2018-05-15 19:14:18 -07:00

gcs

[Build Status] (https://travis-ci.org/btcsuite/btcutil) ![ISC License] (http://img.shields.io/badge/license-ISC-blue.svg) [GoDoc] (http://godoc.org/github.com/btcsuite/btcutil/gcs)

Package gcs provides an API for building and using a Golomb-coded set filter similar to that described here.

A comprehensive suite of tests is provided to ensure proper functionality.

Installation and Updating

$ go get -u github.com/btcsuite/btcutil/gcs

License

Package gcs is licensed under the copyfree ISC License.