Expand description
Measures what an index “object to the ledgers that changed it” over cold history would take, and how an object at an old ledger reads through it. Writes nothing to the store.
The candidate format stores, for each key, the ledgers as ascending deltas in varints. A ledger number is enough to find the row, so no pointer into a segment is kept: the price is decoding that row on every read, and this measures the price too.
Structs§
- Window
- What to measure.
Functions§
- measure
- Measures one window.
samplegets each object read through the index: key, ledger asked, ledger found and the object, empty if deleted there. - partitions_
of - How many partitions of
everyledgers a key’s ascending list touches. - put_
list - Appends ascending
seqsas deltas in varints; the first is absolute. - version_
at - The ledger that holds a key’s version at
at: the last one not after it.