Balík: golang-github-willf-bloom-dev (2.0.3+git20190228.25ba46e-2)
Odkazy pre golang-github-willf-bloom-dev
Zdroje Trisquel:
Stiahnuť zdrojový balík golang-github-willf-bloom:
- [golang-github-willf-bloom_2.0.3+git20190228.25ba46e-2.dsc]
- [golang-github-willf-bloom_2.0.3+git20190228.25ba46e.orig.tar.xz]
- [golang-github-willf-bloom_2.0.3+git20190228.25ba46e-2.debian.tar.xz]
Správca:
Original Maintainers:
- Debian Go Packaging Team
- Thorsten Alteholz
Externé zdroje:
- Domovská stránka [github.com]
Podobné balíky:
Go package implementing Bloom filters
A Bloom filter is a representation of a set of n items, where the main requirement is to make membership queries; i.e., whether an item is a member of a set.
A Bloom filter has two parameters: m, a maximum size (typically a reasonably large multiple of the cardinality of the set to represent) and k, the number of hashing functions on elements of the set. (The actual hashing functions are important, too, but this is not a parameter for this implementation). A Bloom filter is backed by a BitSet (https://github.com/willf/bitset); a key is represented in the filter by setting the bits at each value of the hashing functions (modulo m). Set membership is done by testing whether the bits at each value of the hashing functions (again, modulo m) are set. If so, the item is in the set. If the item is actually in the set, a Bloom filter will never fail (the true positive rate is 1.0); but it is susceptible to false positives. The art is to choose k and m correctly.
In this implementation, the hashing functions used is murmurhash (github.com/spaolacci/murmur3), a non-cryptographic hashing function.
Ostatné balíky súvisiace s balíkom golang-github-willf-bloom-dev
|
|
|
-
- dep: golang-github-spaolacci-murmur3-dev
- Native MurmurHash3 Go implementation
-
- dep: golang-github-willf-bitset-dev
- Implements bitsets, a mapping between non-negative integers and boolean values
Stiahnuť golang-github-willf-bloom-dev
Architektúra | Veľkosť balíka | Nainštalovaná veľkosť | Súbory |
---|---|---|---|
all | 8.7 kB | 37 kB | [zoznam súborov] |