2 ms·
gzip --rsyncable does make gzip set boundaries so one change doesn't affect the entire rest of the file, just one block. However, the resulting differences don
by JoshTriplett 10y ago
gzip --rsyncable does make gzip set boundaries so one change doesn't affect the entire rest of the file, just one block.
However, the resulting differences don't seem nearly as amenable to the bsdiff algorithm as the changes to the underlying uncompressed data. In almost all cases, you'll likely get better results with bsdiff on the uncompressed data (and bsdiff internally compresses its result).
- user5994461 10y agoDon't know about how bsdiff operate, maybe it's naive. Good deduplication and diff algorithms have adaptive block size detection.