[ https://issues.apache.org/jira/browse/COMPRESS-460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16540469#comment-16540469 ]
Gary Gregory commented on COMPRESS-460: --------------------------------------- PR welcome! :) > 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 > 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)