Improvements to Courgette's version of bsdiff
* Store 'diff' bytes by run-length encoding zeros. This reduces the memory needed to store the zeros by ~30MB for chrome.7z. * Store the control tuple elements in separate streams. The 'extra_bytes' counts are often zero so this brings all the zeros together. The uncompressed patch file is much smaller due to the run-length encoded zeros. It is slightly smaller (3-8%) after compression with lzma. Review URL: http://codereview.chromium.org/115435 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16343 0039d316-1c4b-4281-b951-d872f2087c98
Showing
- courgette/courgette.h 1 addition, 1 deletioncourgette/courgette.h
- courgette/third_party/bsdiff.h 0 additions, 3 deletionscourgette/third_party/bsdiff.h
- courgette/third_party/bsdiff_apply.cc 36 additions, 34 deletionscourgette/third_party/bsdiff_apply.cc
- courgette/third_party/bsdiff_create.cc 27 additions, 28 deletionscourgette/third_party/bsdiff_create.cc
Loading
Please register or sign in to comment