Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sbitmap ¶
type Sbitmap struct {
V *bitset.BitSet
B uint64
L uint64
// contains filtered or unexported fields
}
Sbitmap represents a Self learning Bitmap structure
func NewDefault ¶
func NewDefault() *Sbitmap
NewDefault returns a Sbitmap with for the max cardinality nmax math.MaxUint64 with an errorRate of 0.008
func (*Sbitmap) Contains ¶
Contains returns membership of item in Sbitmap (can result in false positive)
Click to show internal directories.
Click to hide internal directories.