conor42 / fast-lzma2

Fast LZMA2 Library
BSD 3-Clause "New" or "Revised" License
278 stars 21 forks source link

Compatability with lzma2? #10

Open RussStringham opened 1 year ago

RussStringham commented 1 year ago

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

conor42 commented 1 year ago

Yes it's binary compatible with lzma2.

mirh commented 1 year ago

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

wupengcheng6819 commented 1 year ago

Especially that now 7z has an ARM assembler decoder.

wupengcheng6819 commented 1 year ago

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.