tracker

package
v0.14.5 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Item

type Item struct {
	Data  []byte
	Count uint64
}

type Tracker

type Tracker interface {
	// Adds an element to track
	AddBytes([]byte)

	// Shows top K elements, unsorted
	TopK() []Item

	io.Closer
}

Directories

Path Synopsis
heavykeeper implementation
heavykeeper implementation
Misra-Gries '84 "heavy hitters" for frequent elements.
Misra-Gries '84 "heavy hitters" for frequent elements.

Jump to

Keyboard shortcuts

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