You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Peter Alfred Lee (Jira)" <ji...@apache.org> on 2020/03/15 07:51:00 UTC

[jira] [Commented] (COMPRESS-504) Allow setting of compression level in ParallelScatterZipCreator

    [ https://issues.apache.org/jira/browse/COMPRESS-504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17059569#comment-17059569 ] 

Peter Alfred Lee commented on COMPRESS-504:
-------------------------------------------

Seems doable by adding a new parameter in constructor. Will try to add this and update the issue to inform you.

Please note that higher compression level make it slower and may potentially take more resources.

 

BTW I have some questions out of my personal interest : 

How many files are there you need to compress that making you using ParallelScatterZipCreator? How much time would it reduce comparing with not using it? How about the CPU/memory usage when using ParallelScatterZipCreator?

It's fine if it's not convenient answering these problems. It's only something out of my interest. :)

> Allow setting of compression level in ParallelScatterZipCreator
> ---------------------------------------------------------------
>
>                 Key: COMPRESS-504
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-504
>             Project: Commons Compress
>          Issue Type: Improvement
>          Components: Compressors
>    Affects Versions: 1.20
>            Reporter: Alex Reese
>            Priority: Minor
>
> Currently, the compression level for ParallelScatterZipCreator is hard-coded as Deflater.DEFAULT_COMPRESSION in the method createDeferred(). It would be nice if that could be changed via a constructor parameter or a set method.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)