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

How to specify the compression level? #165

Open
purew opened this issue Jun 6, 2024 · 1 comment
Open

How to specify the compression level? #165

purew opened this issue Jun 6, 2024 · 1 comment

Comments

@purew
Copy link

purew commented Jun 6, 2024

I don't see any way of specifying the compression level in the encoder?

Another rust library allows specifying this as the level config

    // 0 == default (fast mode); values above 16 count as 16; values below 0 count as 0
    level: u32,

How can I specify this in lz4_flex?

@PSeitz
Copy link
Owner

PSeitz commented Jun 6, 2024

Compression level woud be via hc mode, which is not implemented currently. hc mode would be much slower though

#21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants