Googles appar
Huvudmeny

Post a Comment On: cbloom rants

"09-23-12 - Patches and Deltas"

4 Comments -

1 – 4 of 4
Blogger won3d said...

Some Chrome-related links:

There was an attempt to do diff-based HTTP using SDCH, which is basically bsdiff + gzip. I might have mentioned it before...kinda lame. If you're going to come up with a new compression standard, why not just do big-window LZ and just initialize the window. Basically: what you said.

Something a bit cooler:
http://dev.chromium.org/developers/design-documents/software-updates-courgette

September 23, 2012 at 3:47 PM

Blogger cbloom said...

Cool link on Courgette. It's the next step beyond what I describe in terms of mapping absolute addresses.

I'm surprised how much better it is that bsdiff; I thought bsdiff already had decent executable code special case handling, but apparently not that much.

September 23, 2012 at 5:40 PM

Blogger ryg said...

I don't think bsdiff does anything special for executables at all.

September 23, 2012 at 6:43 PM

Blogger cbloom said...

Based on what? He quite explicitly claims that he does.

[reading Percival's papers]

hmmm yeah he doesn't really special case executables to nearly the extent that my algorithm sketch (or Courgette) does. He basically just does matching with some amount of mismatch allowed, so that (hopefully) address changes will show up in just a few mismatch bytes. (and he hopes thos mismatches will be very self-similar and thus compressible)

This makes bsdiff interesting for things other than executables, but means its performance on exes is way below what it could be.

September 23, 2012 at 7:37 PM

You can use some HTML tags, such as <b>, <i>, <a>

This blog does not allow anonymous comments.

Comment moderation has been enabled. All comments must be approved by the blog author.

You will be asked to sign in after submitting your comment.