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.

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

              Created:
              Updated:
              Resolved: