On Thursday, 28 April 2016 at 20:12:58 UTC, Stefan Koch wrote:
On Wednesday, 27 April 2016 at 06:55:46 UTC, Walter Bright
wrote:
Sounds nice. I'm curious how it would compare to:
https://www.digitalmars.com/sargon/lz77.html
https://github.com/DigitalMars/sargon/blob/master/src/sargon/lz77.d
lz77 took 176 hnecs uncompressing
lz4 took 92 hnecs uncompressing
And another test in reversed order using the same data.
lz4 took 162 hnecs uncompressing
lz77 took 245 hnecs uncompressing
Though the compression ratio is worse.
But that is partially fixable.