MST.Node.Entry (mst v0.1.0)

View Source

A single entry within an MST.Node.

Stores a compressed key (prefix_len bytes shared with the previous entry's full key, plus key_suffix), the CID of the value record (value), and an optional CID pointing to a right subtree (right).

Summary

Types

t()

@type t() :: %MST.Node.Entry{
  key_suffix: binary(),
  prefix_len: non_neg_integer(),
  right: DASL.CID.t() | nil,
  value: DASL.CID.t()
}