Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BsDiffPatchChunked #7

Closed
tenyo-tyankov opened this issue Sep 27, 2016 · 1 comment
Closed

BsDiffPatchChunked #7

tenyo-tyankov opened this issue Sep 27, 2016 · 1 comment

Comments

@tenyo-tyankov
Copy link

Hi
First, congratulations for this c# port of bsdiff algorithm. It is very helpful for me, so I decide to share some code :)
I decide to write a wrapper to avoid problem with memory consumption on large files. The wrapper uses yours BinaryPatchUtility.cs (with just one modification) as basis but splits files in chunks and make diffs over them, then combine all chunks in single patch file. Because of slow diff generation on large files (over 1Gb) wrapper has feature to make diffs on chunks in parallel mode. When applying patch, wrapper reads chunk diffs and make new file from them.
Wrapper and demo source code.BsDiffPatchChunked.zip

Best,
Tenyo Tyankov

@bgrainger
Copy link
Member

Thanks for submitting your code!

If you'd like any changes to be integrated into this code, please submit them as a pull request. (Although it sounds like you're mostly creating a new project and not adding to this one.)

Help on creating a PR can be found at:

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

No branches or pull requests

2 participants