Creating Delta Diff Patches of large Binary Files in C#

前端 未结 3 1816
独厮守ぢ
独厮守ぢ 2021-02-06 11:34

I looking for a way to create Delta Diff Patches of Large Binary Files (VMWare Virtual Disk Files). Is there an implementation in C# or any useful methods in the the .NET Framew

3条回答
  •  抹茶落季
    2021-02-06 12:15

    bsdiff was designed to create very small patches for binary files.

    As stated on its page, it requires max(17*n,9*n+m)+O(1) bytes of memory and runs in O((n+m) log n) time (where n is the size of the old file and m is the size of the new file), so it will take a long time and use a huge amount of memory to create diffs for virtual disk files.

    The original implementation is in C, but a C# port is described here and available here.

提交回复
热议问题