sapling/lib/zstdelta
Jun Wu 7a348e55a9 zstdelta: rust library to use zstd to do delta-ing and compression
Summary:
Using zstd dictionary as the "delta base" can result in overall better and
faster compression (than things like mdiff + zstd, or fossil_delta + zstd).

This diff adds utility functions to do delta generation and application.
It tweaks compression parameters (wlog, hlog) to optimize the "delta-ing"
usecase. It now hardcoded the "fast" strategy (level=1) to have reasonable
speed. We can add other compression levels later if needed.

Reviewed By: jsgf

Differential Revision: D7562908

fbshipit-source-id: 3334059b4abeb8923d603d055bde0bfdc854bc7b
2018-05-25 09:34:34 -07:00
..
src zstdelta: rust library to use zstd to do delta-ing and compression 2018-05-25 09:34:34 -07:00
Cargo.toml zstdelta: rust library to use zstd to do delta-ing and compression 2018-05-25 09:34:34 -07:00