Lossless Compression

Information from The State of Sarkhan Official Records
Compression Method Compression Ratio Speed (Compression) Speed (Decompression) Supported OS
gzip Moderate Fast Fast Linux, macOS, Windows, BSD, etc. (widely supported)
bzip2 High Slow Slow Linux, macOS, Windows, BSD, etc. (widely supported)
zip Moderate Moderate Moderate Windows, macOS, Linux, BSD, etc. (widely supported)
rar High Moderate Moderate Windows, macOS, Linux (with third-party tools)
7-Zip Very High Moderate Moderate Windows, macOS, Linux, BSD, etc. (widely supported)
uha Very High Slow Slow Linux, macOS, BSD (limited support compared to others)

Key Considerations:

  • Compression Ratio: Measures how much the file size is reduced after compression. Higher ratios mean smaller files.
  • Speed: Refers to how quickly the file is compressed and decompressed.
  • Supported Operating Systems: Indicates the platforms where the compression method is natively supported or easily available.

Notes:

  • Compression ratios and speeds can vary depending on the type of data being compressed.
  • Newer compression algorithms like xz and lzma often offer superior compression ratios to older methods like gzip and bzip2, but may have higher CPU usage.
  • 7-Zip is a popular open-source archiver that supports various compression algorithms, including 7z, gzip, bzip2, and xz.

This table provides a general overview of the different compression methods. The optimal choice will depend on your specific needs and priorities, such as compression ratio, speed, and compatibility.