bloom

package module
v0.0.0-...-e24b032 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2015 License: MIT Imports: 2 Imported by: 13

README

bloom

A set of bloom filter implementations, including

  • Standard
  • Partitioned
  • Scalable

Additional information regarding benchmarks is here.

For examples, take a look at the *_test.go files in each of the directories.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func K

func K(e float64) uint

func M

func M(n uint, p, e float64) uint

func S

func S(m, k uint) uint

Types

type Bloom

type Bloom interface {
	Add(key []byte) Bloom
	Check(key []byte) bool
	Count() uint
	PrintStats()
	SetHasher(hash.Hash)
	Reset()
	FillRatio() float64
	EstimatedFillRatio() float64
	SetErrorProbability(e float64)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL