bloom

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter

type Filter struct {
	// contains filtered or unexported fields
}

Filter is a lock-free bloom filter optimized for concurrent Add/Test.

func New

func New(bits uint64, hashes uint8) *Filter

func (*Filter) Add

func (f *Filter) Add(value string)

func (*Filter) Test

func (f *Filter) Test(value string) bool

Jump to

Keyboard shortcuts

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