VCDIFF
Appearance
VCDIFF is a format and an algorithm for delta encoding, described in RFC 3284. The algorithm is based on Jon Bentley and Douglas McIlroy's paper "Data Compression Using Long Common Strings"[1] written in 1999. VCDIFF is used as one of the delta encoding algorithm in "Delta encoding in HTTP" (RFC 3229) and is employed in Google's Shared Dictionary Compression Over HTTP technology used in their Chrome browser.
Delta instructions
VCDIFF has 3 delta instructions. ADD, COPY, and RUN. ADD adds a new sequence, COPY copies from an old sequence, and RUN adds repeated data.
Implementations
Free software implementations include xdelta (version 3) and open-vcdiff.
- Google's Shared Dictionary Compression Over HTTP proposal uses this algorithm, and was included in the Google Chrome browser, up to version 58[2].
- Xdelta - A tool, which is an Open Source VCDIFF delta compression implementation
- open-vcdiff - Another Open Source VCDIFF delta compression implementation
- vczip as part of vcodex and ast-open packages (also part of UWIN)
- diffable - Java implementation, but some kind of original modification of VCDIFF
- jvcdiff - Full decoder/encoder java implementation of VCDIFF
- vcdiff-java - An Java implementation of VCDIFF
- Miscellaneous Utility Library - C# implementation, decoding only
- CyanDelta - Updates CyanogenMod ROMs using Xdelta3 patches.
See also
References
- ^ CiteSeerX — Data Compression Using Long Common Strings
- ^ "Intent to Unship: SDCH". Google. Retrieved 2017-08-08.
External links
- RFC 3284 - The VCDIFF Generic Differencing and Compression Data Format