proxy.golang.org : github.com/opencoff/go-mph : v0.1.1
Package mph implements two different perfect hash functions for large data sets: mph exposes a convenient way to serialize keys and values OR just keys into an on-disk single-file database. This serialized MPH DB is useful in situations where the reading from such a "constant" DB is much more frequent compared to updates to the DB. The primary user interface for this package is via the 'DBWriter' and 'DBReader' objects. Each objected added to the MPH is a <key, value> pair. The key is identified by a uint64 value - most commonly obtained by hashing a user specific object. The caller must ensure that they use a good hash function (eg siphash) that produces a random distribution of the keys. The 'DBWriter'
Registry -
Documentation -
Download -
JSON -
codemeta.json
purl: pkg:golang/github.com/opencoff/go-mph@v0.1.1
Published:
Indexed:
- github.com/dchest/siphash v1.2.3
- github.com/hashicorp/golang-lru/arc/v2 v2.0.7
- github.com/hashicorp/golang-lru/v2 v2.0.7
- github.com/opencoff/go-fasthash v0.0.0-20180406145558-aed761496075
- github.com/opencoff/pflag v1.0.6-sh1