Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8260617

Merge ZipFile encoding check with the initial hash calculation

XMLWordPrintable

      We could improve the speed of opening ZipFiles by merging the logic for calculating a normalized hash from a byte[] and checking of the encoding is valid into a single pass. This allows for a roughly 1.2x speedup of JarFileMeta microbenchmarks in both optimized and interpreted runs.

            redestad Claes Redestad
            redestad Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: