Skip to main content

Module dedup

Module dedup 

Source
Expand description

Deduplicating k-way merge. Each input is a stream of (key, value) entries sorted by key. On key tie across sources, the highest- indexed source wins (“latest”). Output is one entry per distinct key.

Same shape as the tombstone-aware merge, minus the tombstone flag - every entry is “live”. Useful for log compaction over append-only shards where you want the freshest value per key.

Structs§

DedupEntry
DedupMergeIterator