[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re: [Lzip-bug] lzip vs. zstd
From: |
wrotycz |
Subject: |
Re: Re: [Lzip-bug] lzip vs. zstd |
Date: |
Wed, 07 Feb 2024 15:38:06 +0100 |
User-agent: |
GWP-Draft |
> The theoretical basis of zstd[2] seems more complicated than that of LZMA
Well, it's new, from 2013/14, but it's actually not complicated, simpler and easier to understand and implement than arithmetic coding. In simple terms it is 'bit back arithmetic coding'.
Zstd, and I guess LZFSE, are table version, called tANS, of regular ANS, and its implementation called rANS; r - for range I guess, or to refer to range coding.
From what I tried, arithmetic/range coding is more complex, and slower than (r)ANS.
Original papers date back to 2009/2013
Asymmetric numeral systems; by original inventor - Jaroslaw Duda
Asymmetric numeral systems: entropy coding combining speed of Huffman coding with compression rate of arithmetic coding
but I found the best, and most palatable explanation by Robert Bamler
Understanding Entropy Coding With Asymmetric Numeral Systems (ANS): a Statistician's Perspective
Data Compression With Deep Probabilistic Models
All the best
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Re: [Lzip-bug] lzip vs. zstd,
wrotycz <=