housisong

Results 126 comments of housisong

When the old and new directories are the same, this is already the case. > It would already be an improvement to identify only modified files and copy those instead...

I have just completed the development of the "diff by CreateSignature" feature, The next focus of development work may be on compatibility with the .zsync format, This choice is related...

There is a problem with this. The in-place update algorithm is more about solving the problem of insufficient disk space, and it comes at the cost of larger patches and...

> “如果将源包也标准化,就可以” 是的。 对于没有标准化的旧zip的处理,只能保证生成逻辑上一致的zip包,而不会二进制完全一致。 而为了完全一致,需要将源包也标准化。 设计:当新zip包中的文件数据没有修改的时候,算法会直接从旧zip包中copy压缩好的源文件,从而节省重新压缩数据时耗费的时间。 注意:在zipdiff的时候,二进制不完全一致时会有一个输出提示。

你可以试试 https://github.com/sisong/HDiffPatch/releases/download/v4.6.9/hdiffpatch_v4.6.9_sources.zip

我对QNX系统不熟悉,看起来有和linux类似的opendir readdir closedir函数组合; 是否能够合并两种代码分支,而在不同的API特性的情况下才做一些特殊处理(用_QNX_宏)? (不是强制要求,现在看来分开可能更清晰)