airlift / aircompressor

A port of Snappy, LZO, LZ4, and Zstandard to Java
Apache License 2.0
562 stars 111 forks source link

Zstd compressionLevel #145

Closed auko-lq closed 1 year ago

auko-lq commented 2 years ago

Currently the Zstd compressionLevel is hard-coded, Can you add a method to modify compressionLevel? Thx.

dlazerka commented 2 years ago

Hi, looking at the code (CompressionParameters), only DFAST Strategy is supported. But depending on complexity there are a lot of other strategies to choose, which are not implemented.

So I believe that a good amount of work needs to be done to implement other strategies in order to support other compression levels.

zzzzming95 commented 1 year ago

In addition, the zstd buffsize parameter setting should also be supported.

dain commented 1 year ago

Only the default level is supported (implemented) right now, so it doesn’t make sense to allow it to be configurable at this time