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

ZipOutputStream is slow when compressing big files

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • 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
          cgrobmeier

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: