I'm embedding a small zipped directory structure in my Rust binary so that I can unzip it later for users to create a template dir, but what is the better compression algorithm to use for the zip file: Bzip2 or Deflate?
Deflate is faster, bzip2 compresses more. Both are worse than zstd or lzma.
1 Like
Cool, thanks for the replies. For now I'll go with bzip2 because it is supported out-of-the-box with the zip crate I'm using.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.