Skip to content

SharpHDiffPatch-v2.1.0

Compare
Choose a tag to compare
@neon-nyan neon-nyan released this 21 Dec 17:17
· 11 commits to main since this release

What's new?

  • Adding support for LZMA2 compressed patch (but LZMA compression is not supported yet)

Keep in-mind that the performance of the decompression is slow due to single-threaded and managed code implementation based on managed-lzma by weltkante

  • Adding Linux (x64 and ARM64) and Windows (ARM64) builds
  • Adding AdvSimd support for RLE Calculation on ARM64 machines

What's changed?

  • Use ArrayPool for both rleCodeBuffer and rleCtrlBuffer on Fast Buffer mode if the ArrayPool space is sufficient
  • Use Process.GetCurrentProcess() to get executable name in System.CommandLine
  • Code clean-up

What's fixed?

  • Fixed 4 step RLE addition not calculating the remaining buffer even the size is more than or equal to 4 bytes

Sidenote:

The ARM64 build for Windows and both x64 & ARM64 builds for Linux don't come with ZStandard decompression support at the moment. The support will be available in the next release.