Expand description
§xpatch
A high-performance delta compression library with automatic algorithm selection.
§Quick Start
use xpatch::delta;
let base = b"Hello, world!";
let new = b"Hello, beautiful world!";
let delta = delta::encode(0, base, new, true);
let decoded = delta::decode(base, &delta).unwrap();
assert_eq!(decoded, new);Re-exports§
Modules§
- delta
- Delta encoding and decoding for efficient storage of sequential data changes.
- token_
list - tokenizer
- Fast tokenizer using a Trie for longest-match encoding.
- varint
- Variable-length integer encoding (varint) for compact storage.