commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carmi Grushko (JIRA)" <j...@apache.org>
Subject [jira] [Created] (COMPRESS-460) ZstdCompressorOutputStream: specify compression level
Date Wed, 11 Jul 2018 18:00:00 GMT
Carmi Grushko created COMPRESS-460:
--------------------------------------

             Summary: 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


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)

Mime
View raw message