emmanuel-marty / lzsa

Byte-aligned, efficient lossless packer that is optimized for fast decompression on 8-bit micros
Other
236 stars 30 forks source link

Suggestion: ZX0 and ZX1 #55

Open arm-in opened 3 years ago

arm-in commented 3 years ago

The ZX0 project says that ZX7 is superseded by ZX0. https://github.com/einar-saukas/ZX0 Also, a variant ZX1 exists. Would it be interesting to add those in the comparison list and the pareto graph?

specke commented 3 years ago

Hi arm-in,

To be honest, quite a few compressors on our diagram are superseded by ZX0. It is difficult to update the diagram at this moment because I am helping to optimize Z80 decompressors for ZX0 and ZX1. I did some preliminary tests for ZX0, you can see the results of these tests here: https://www.cpcwiki.eu/forum/programming/new-cruncher-zx0/msg197727/#msg197727 These tests demonstrate that ZX0 is an excellent compression format, truly modern and, in fact, the best that I know in its own category.

Once the Z80 decompressors settle a little, I will prepare a new diagram featuring both ZX0 and ZX1. From what I know, ZX0 is a little faster than e.g. MegaLZ, i.e. below 3*LDIR. ZX1 is quoted by Einar as being 15% faster, which should take it, approximately, into LZSA2-like territory, but I have not done tests to confirm it.

Best regards, spke

arm-in commented 3 years ago

Hi specke, thank you for the link to the test results. Very impressive!