fast-lzma2 icon indicating copy to clipboard operation
fast-lzma2 copied to clipboard

Compatability with lzma2?

Open RussStringham opened this issue 2 years ago • 4 comments

Can data compressed with fast-lzma2 be decompressed by a binary utilizing the lzma2 library?

RussStringham avatar Dec 05 '22 20:12 RussStringham

Yes it's binary compatible with lzma2.

conor42 avatar Dec 17 '22 14:12 conor42

Igor must have pushed hard for optimizations in the last year or so, because now that I tried again my "6 GB of textures" benchmark, I can get vanilla 7z 22.01 to decompress like 20% faster than this. EDIT: probably everything from here onwards

mirh avatar Dec 29 '22 02:12 mirh

Especially that now 7z has an ARM assembler decoder.

wupengcheng6819 avatar May 12 '23 19:05 wupengcheng6819

To be fair, I did a small benchmark between fxz and 7z 22 (single-threade decoding), on PC with a total of ~50GB of data.

fxz has a small speed advantage of about 5% to 10% on PC.

However, on ARM64 it's 20%+ slower with my preliminary test, again we are talking about single-thread.

wupengcheng6819 avatar May 19 '23 10:05 wupengcheng6819