Help us shape the future of Go! Take the 2026 Go Developer Survey

tracker

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2025 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