Uploaded image for project: 'Commons Compress'
  1. Commons Compress
  2. COMPRESS-46

ZipOutputStream is slow when compressing big files

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      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

        Attachments

        1. patch-zip-update.txt
          139 kB
          Christian Grobmeier

          Issue Links

            Activity

              People

              • Assignee:
                tcurdt Torsten Curdt
                Reporter:
                bodewig Stefan Bodewig
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: