二进制差分算法调研

收集到的开源二进制差分算法

  1. bsdiff
  2. xdelta

bsdiff

bsdiff github地址
类似于官网

bsdiff and bspatch are libraries for building and applying patches to
binary files.

bsdiff 是以C语言编写的开源二进制差分算法库,其中包括生成差分文件的bsdiff部分和还原差分文件的bspatch部分。

速度和效率

bsdiff routinely produces binary patches 50-80% smaller than those
produced by Xdelta, and 15% smaller than those produced by .RTPatch (a
$2750/seat commercial patch tool).

维护状态

github 最新提交的代码在2020年

支持平台

Windows, Linux, NaCl, OSX
可以认为是跨平台

LICENCE

This project is governed by the BSD 2-clause license

xdelta

xdelta官网

Xdelta version 3 is a C library and command-line tool for delta
compression using VCDIFF/RFC 3284 streams.

当前版本为3.x,是基于VCDIFF差分算法开发的库

速度和效率
维护状态

最后更新的代码在5年前

支持平台

Unix, Microsoft VC++ and Cygwin builds.

LICENCE

This repository contains branches of Xdelta 3.x that were re-licensed
by the original author under the Apache Public License version 2.0

Courgette

谷歌Chrome开源的差分库,原本用在了Chrome升级

源码

But bsdiff was still producing diffs that were bigger than we felt were necessary. So we wrote a new diff algorithm that knows more about the kind of data we are pushing - large files containing compiled executables. Here are the sizes in bytes for the recent 190.1->190.4 update on the developer channel:

维护状态

正在维护,提交的代码是本月

支持平台

针对chrome作出了优化,可能会有更改

LICENCE
速度和效率

官网上写出的,升级Chrome的一次测试

Bytes
Full Update10,385,920
Bsdiff Update704,512
Courgette Update78,848
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值