[
https://issues.apache.org/jira/browse/COMPRESS-460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Bodewig resolved COMPRESS-460.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.18
merged the pull request, many thanks!
> ZstdCompressorOutputStream: specify compression level
> -----------------------------------------------------
>
> Key: COMPRESS-460
> URL: https://issues.apache.org/jira/browse/COMPRESS-460
> Project: Commons Compress
> Issue Type: Improvement
> Components: Compressors
> Affects Versions: 1.17
> Reporter: Carmi Grushko
> Priority: Minor
> Fix For: 1.18
>
> Original Estimate: 5m
> Remaining Estimate: 5m
>
> ZstdCompressorOutputStream allows to compress data using Zstandard, but the
> default compression level of 3 is hard-coded.
> Programs that wish to use a different compression level must reimplement
> ZstdCompressorOutputStream.
> I suggest we add a constructor that takes a compression level and passes it
> to
> `new ZstdOutputStream(...)`.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)