You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Christian Grobmeier (JIRA)" <ji...@apache.org> on 2009/01/12 06:54:59 UTC

[jira] Updated: (SANDBOX-248) ZipOutputStream is slow when compressing big files

     [ https://issues.apache.org/jira/browse/SANDBOX-248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Grobmeier updated SANDBOX-248:
----------------------------------------

    Attachment: patch-zip-update.txt

Stefan, you are right.
I have updated BZip of course, not Zip. It's quite hard with all these patches around me currently :-)

However, attached is the patch file which updates compress to the current ZIP implementation of Ant. Thanks for shouting!



> ZipOutputStream is slow when compressing big files
> --------------------------------------------------
>
>                 Key: SANDBOX-248
>                 URL: https://issues.apache.org/jira/browse/SANDBOX-248
>             Project: Commons Sandbox
>          Issue Type: Improvement
>          Components: Compress
>            Reporter: Stefan Bodewig
>         Attachments: patch-zip-update.txt
>
>
> This has been reported against Ant's version, the grandfather of commons-compress.  See https://issues.apache.org/bugzilla/show_bug.cgi?id=45396
> Splitting up the array passed into Deflater.setInput improves the performance dramatically.  Ant's change is http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/zip/ZipOutputStream.java?r1=579278&r2=677272&pathrev=677272

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.