Module re_int_histogram::tree

source ยท
Expand description

The histogram is implemented as a trie.

Each node in the trie stores a count of a key/address sharing a prefix up to depth * LEVEL_STEP bits. The key/address is always 64 bits.

There are branch nodes, and two types of leaf nodes: dense, and sparse. Dense leaves are only found at the very bottom of the trie.

Modulesยง

Structsยง

Enumsยง

Constantsยง

Functionsยง

Type Aliasesยง

  • Level ๐Ÿ”’
    How high up in the tree we are (where root is highest). 1 << level is the size of the range the next child. So 1 << ROOT_LEVEL is the size of the range of each children of the root.