geronimo-xbean-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevan Miller (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (XBEAN-176) use JarFile when possible in JarArchive for example
Date Wed, 08 Jun 2011 13:33:58 GMT

    [ 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

Mime
View raw message