c59d7e8fba
This change will reduce the total number of allocations required to create/store the allocated filter as we’ll now perform a _single_ allocation, rather than one each time the the dynamically size slice reaches capacity. |
||
---|---|---|
.. | ||
builder | ||
doc.go | ||
gcs.go | ||
gcs_test.go | ||
gcsbench_test.go | ||
README.md | ||
uint64slice.go |
gcs
[] (https://travis-ci.org/btcsuite/btcutil) ![ISC License] (http://img.shields.io/badge/license-ISC-blue.svg) [] (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.