Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 16667 invoked from network); 12 Jan 2009 05:55:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Jan 2009 05:55:23 -0000 Received: (qmail 27591 invoked by uid 500); 12 Jan 2009 05:55:22 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 27504 invoked by uid 500); 12 Jan 2009 05:55:22 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 27493 invoked by uid 99); 12 Jan 2009 05:55:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Jan 2009 21:55:22 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jan 2009 05:55:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A405E234C48B for ; Sun, 11 Jan 2009 21:54:59 -0800 (PST) Message-ID: <995148747.1231739699670.JavaMail.jira@brutus> Date: Sun, 11 Jan 2009 21:54:59 -0800 (PST) From: "Christian Grobmeier (JIRA)" To: issues@commons.apache.org Subject: [jira] Updated: (SANDBOX-248) ZipOutputStream is slow when compressing big files In-Reply-To: <1523585925.1216215571698.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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.