Skip to content

Conversation

@lucasbru
Copy link

jbsdiff seems to write one extra zero byte for every byte in the
target binary to the compressed stream. While these are mostly
compressed away (and not consumed by bspatch or jbsdiff patch),
it will still make the patches slightly smaller and the patching
slightly faster to not write them.

This should make jbsdiff's patches more similar to those generated
by bsdiff. However, even after this change, both library seem
to generate slighly different patch files.

jbsdiff seems to write one extra zero byte for every byte in the
target binary to the compressed stream. While these are mostly
compressed away, it will still make the patches slightly smaller and
the patching slightly faster to not write them.

This should make jbsdiff's patches more similar to those generated
by bsdiff. However, even after this change, both library seem
to generate slighly different patch files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant