aehobak-0.0.3 has been yanked.
aehobak
Aehobak transcodes binary patches from bsdiff.
The goal is a byte-oriented format, compact and optimised for patch application speed.
As compression efficiency is content-dependent, one should verify with a suitable corpus.
The following results are for LZ4-compressed bsdiff patches of build artifacts that are under 3% of the target object size. The bench example can report the same metrics for provided files.
LZ4-compressed aehobak patches are on average 45.3% smaller.
Uncompressed aehobak patches are on average:
- 28.2% larger than compressed bsdiff patches
- 98.8% smaller than uncompressed bsdiff patches
Usage
let old = vec!;
let new = vec!;
let mut patch = Vecnew;
let mut encoded = Vecnew;
diff.unwrap;
encode.unwrap;
let mut decoded = Vecwith_capacity;
let mut patched = Vecwith_capacity;
decode.unwrap;
patch.unwrap;
assert_eq!;
Diffing Files
Patching Files