Uploaded image for project: 'XBean'
  1. XBean
  2. XBEAN-176

use JarFile when possible in JarArchive for example

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.8
    • finder
    • None

    Description

      ZipFile is faster than ZipInputStream because it doesn't read a stream, it directly calls native methods so it can be faster to separate both cases.

      (JarFile and JarInputStream have of course the same behavior)

      (on my computer JarFile is 10 times faster than JarInputStream to list files contained in a jar)

      Attachments

        1. zipFile.patch
          3 kB
          Romain Manni-Bucau
        2. zipFile.patch
          3 kB
          Romain Manni-Bucau
        3. zipFile2.patch
          3 kB
          Romain Manni-Bucau

        Activity

          People

            Unassigned Unassigned
            romain.manni-bucau Romain Manni-Bucau
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: