geronimo-xbean-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (XBEAN-176) use JarFile when possible in JarArchive for example
Date Wed, 08 Jun 2011 05:21:59 GMT

     [ https://issues.apache.org/jira/browse/XBEAN-176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Romain Manni-Bucau updated XBEAN-176:
-------------------------------------

    Attachment: zipFile.patch

the diff was done directly on JarArchive.

> 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

Mime
View raw message