You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xbean-dev@geronimo.apache.org by "Kevan Miller (JIRA)" <ji...@apache.org> on 2011/06/08 15:33:58 UTC

[jira] [Commented] (XBEAN-176) use JarFile when possible in JarArchive for example

    [ https://issues.apache.org/jira/browse/XBEAN-176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045951#comment-13045951 ] 

Kevan Miller commented on XBEAN-176:
------------------------------------

Cool. Thanks Romain. However, your update is causing a JUnit test failure. Want to have a look?

> 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