VCDIFF
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 is now included in the Chrome browser
- 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
- j-vcdiff - An in-progress Java implementation of VCDIFF
- Miscellaneous Utility Library - C# implementation, decoding only
- CyanDelta - Updates CyanogenMod ROMs using Xdelta3 patches.
See also
References
External links
- RFC 3284 - The VCDIFF Generic Differencing and Compression Data Format