Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

orz and xz compression? #53

Open
Quackdoc opened this issue Sep 6, 2024 · 4 comments
Open

orz and xz compression? #53

Quackdoc opened this issue Sep 6, 2024 · 4 comments
Labels
💡 Enhancement New feature or request 📚 Specification This need a change in Arx format itself

Comments

@Quackdoc
Copy link

Quackdoc commented Sep 6, 2024

It would be nice to support orz which is a higher compression format then zstd, and also is written natively in rust https://github.com/richox/orz/

It would also be nice to use xz since it also has high compression, and is faster to compress.

@mgautierfr
Copy link
Member

I didn't know about orz. It is possible to add new compression algorithm in Jubako format (and so in arx). But it would be nice to know for which use case first.

  • zstd compress a little less, but it has really fast decompression time.
  • lzma compress better, but it is slower to decompress.
  • lz4 is really fast both at compression/decompression, but has smallest compression ratio.

It would also be nice to use xz since it also has high compression, and is faster to compress.

Jubako (and arx) already support lzma. Which is mostly xz without its internal framing (because Jubako has its own). It is behind the feature lzma (cargo install arx --feature lzma) and with --compression option to arx create.

@Quackdoc
Copy link
Author

Quackdoc commented Sep 7, 2024

Ah, I didn't realize that about lzma I can use that for sure. as for orz, I have found that in some cases it's just a nice mid ground, but since arx already has lzma it's not really important.

@father-mande
Copy link

Hi,

After your exchange I have read Cargo.toml for features
my question :
... when I integrate --feature it's added to default (zstd,fuse) or is it necessary to provide full list of feature one bu one or separated by , or what else.

Sorry perhaps a stupid question due to my poor understanding of rust / cargo.

Philippe.

@mgautierfr
Copy link
Member

--features foo activate feature foo. Other features are untouched. You can use the option --no-default-features with --features foo to activate only the feature foo

@mgautierfr mgautierfr added 💡 Enhancement New feature or request 📚 Specification This need a change in Arx format itself labels Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💡 Enhancement New feature or request 📚 Specification This need a change in Arx format itself
Projects
None yet
Development

No branches or pull requests

3 participants