Replies: 7 comments
-
Just some quick testing (on a single archive to be fair) and it compresses a fair bit faster than zstd using the default options, ended up only slightly bigger, but did have only slightly slower decompression. Might be some merit to it but it does seem rather interchangeable with zstd. |
Beta Was this translation helpful? Give feedback.
-
Maybe it's a good idea to try the higher settings, since its intended target is actually lzma. But I see how it can be competitive with zstd 22, which is a fairly extreme setting that spends a lot of time trying to optimize the compression without compromising on d-speed. In that sense, they are very similar, yes. Both zstd-...20,21,22 and lzham trade compression speed for decompression speed, only zstd trades a bit more ratio (you don't get any better than that) and lzham trades more c-speed (it can get extremely slow on the highest setting of all). |
Beta Was this translation helpful? Give feedback.
-
My build says that the default is the maximum... |
Beta Was this translation helpful? Give feedback.
-
Right! It follows 7-zip naming conventions, where maximum is actually not the maximum because after it comes "ultra" |
Beta Was this translation helpful? Give feedback.
-
Ok I've been tinkering around with the command line options and it seems it doesn't get any better than the "maximum" level without dropping to 4x slower compression. And like you said, marginally better compression than zstd, with slower decompression speed. Maybe the "ultra" |
Beta Was this translation helpful? Give feedback.
-
I'll move this to discussions as it's not really in issue. |
Beta Was this translation helpful? Give feedback.
-
I've actually played around with lzham a little and while it compresses well and is certainly fast, it's not that it blows any of the other algorithms out of the water. The biggest issue for me is that it's pretty much abandoned by the author and thus unmaintained. There doesn't seem to be much interest in maintaining it either. So at this point it's highly unlikely that it'll be included. |
Beta Was this translation helpful? Give feedback.
-
Quoting its readme:
Pros:
. Strong compression
. Fast decompression (still slower than zstd AFAICT)
Cons:
. Comparatively slow compression (although not really impractical, except for the 'extreme' setting, which really lives up to its name and should never be used)
dwarfs being a read-only filesystem designed for a create-once, read-often use case, slow compression shouldn't be that much of an issue.
Beta Was this translation helpful? Give feedback.
All reactions