[ https://issues.apache.org/jira/browse/COMPRESS-215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Bodewig resolved COMPRESS-215. ------------------------------------- Resolution: Fixed Fix Version/s: 1.5 svn revision 1435549 contains a change based on your patch. > ZipFile reads up to 64KiB in a sequence of one byte reads > --------------------------------------------------------- > > Key: COMPRESS-215 > URL: https://issues.apache.org/jira/browse/COMPRESS-215 > Project: Commons Compress > Issue Type: Improvement > Components: Archivers > Affects Versions: 1.4.1 > Environment: JDK 1.7 64-bit, Windows 7 > Reporter: Robin Power > Priority: Minor > Fix For: 1.5 > > Attachments: COMPRESS-215.patch > > > This relates to a performance improvement. > When ZipFile is parsing a file it searches for the ZIP64 End Of Central > Directory Locator as a first step to determining if the file is ZIP64 or > regular 32 bit. It searches in reverse for the ZIP64 EOCDL signature from the > end of the file reading one byte at a time, potentially up to about 64KiB. > This can be an expensive operation, especially if it is not a ZIP64 file, as > it will make over 64000 file reads to determine that the file is not ZIP64. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira