this post was submitted on 13 Jul 2023
610 points (99.4% liked)

Asklemmy

43812 readers
882 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 14 points 1 year ago* (last edited 1 year ago) (2 children)

LZMA SDK. I feel nobody speaks about it, considering it is the basis of 7Z and XZ compression formats, and is practically the strongest one with good speed outside of BSC and PAQ family (lolz is too niche for game repacking).

I will add FFmpeg too, for video and audio encoding and compression.

I am a file compression lunatic.

[โ€“] [email protected] 1 points 1 year ago (1 children)

I'm surprised you didn't mention zstd, I've been using that in a bunch of projects for a while now

[โ€“] [email protected] 4 points 1 year ago

Because zstd is not mature enough. Facebook claimed it was production stable, yet even with 1.5.1 it created corrupt archives at level 16 or above compression. Moreover, zstd is a single file compressor which means it needs a container for all files (like TAR) before initiating compression. I benchmark and observe zstd apart from blosc and many other projects aiming for Pareto frontier, however I find it quite concerning nobody thinks about Pareto frontier in terms of distribution of compressed contents, since compression is only performed once.

7Z is a full featured stable general purpose archival format with more than 25 years of development and track record, and has support for repairable headers, Unix/Windows precision timestamp support, far stronger compression (10-20% better ratio than zstd) and incredible ease of access (7-Zip on Windows and compress/decompress support built into Linux distributions).