An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

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:

    Loading...
    Readme
    Loading...