Skip to content

Conversation

@sisong
Copy link
Owner

@sisong sisong commented Sep 19, 2025

  • optimize $hdiffz -m required memory size when newData similar to oldData;
  • patch_single_stream support pre-read some old data for optimize disk read, when patch with large cache memory;
  • now, opened xxh3 & xxh128 ChecksumPlugin when dir-diff, checksum fast; (NOTE: need v4.12 patcher);
  • cmdline hpatchz support show progress;
  • cmdline hpatchz support multi-thread for single compressed diff (create by $hdiffz -SD);
    multi-thread used for I/O & decompress, maybe help when patch;
  • recode C++ multi-thread code to C code base, so remove _IS_USED_CPP11THREAD define.
  • update min NDK version from r16b to r23c; ( android 14 API to 16; remove .so for armeabi )
  • Android .so makefile build support directory patch (default closed, need set DIR=1);
  • when hdiffz test diffFile, all check-patcher run with stream mode(slower than run in memory);
  • printf some long time diff process info;

close #166 close #227
ref #427 ref #396

sisong added 30 commits July 31, 2025 17:53
# Conflicts:
#	Makefile
#	libParallel/parallel_channel.h
#	libParallel/parallel_import.cpp
#	libParallel/parallel_import.h
…map_streams_befor_serialize optimize serialize speed;
…() to one; recode TCoversOptimMB<TMatchBlockMem> to TCoversOptimMem, TCoversOptimMB<TMatchBlockStream> to TCoversOptimStream;
@sisong sisong merged commit d65858b into master Sep 19, 2025
18 of 20 checks passed
@sisong sisong deleted the v5.0-dev/op-diff-mem branch September 19, 2025 13:05
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.

Progress when applying a patch 加个进度变量?

2 participants