use JarFile when possible in JarArchive for example
---------------------------------------------------

                 Key: XBEAN-176
                 URL: https://issues.apache.org/jira/browse/XBEAN-176
             Project: XBean
          Issue Type: Improvement
          Components: finder
            Reporter: Romain Manni-Bucau
         Attachments: zipFile.patch, zipFile.patch

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)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to