Expand description
CRDT state compression for Loro deltas.
CRDT operations have a specific data signature:
- Lamport timestamps: monotonically increasing → Delta → FastLanes
- Actor IDs: purely entropic, but few unique actors → dictionary dedup
- Content (text edits, JSON): contiguous → RLE + FSST for strings
This module compresses CRDT operation batches for:
- Sync bandwidth reduction (Pattern B)
- Long-term storage efficiency (Pattern C)
Structs§
- CrdtOp
- A CRDT operation for compression.