Avoid string decoding in ZipFile.Source.getEntryPos

Eirik Bjørsnøs eirbjo at gmail.com
Thu Feb 2 13:38:08 UTC 2023


Hi,

Please review this PR which speeds up ZipFile entry lookup by ~17%, mostly
by removing a string decode / allocation when getEntryPos compares lookup
names with names in the CEN:

https://github.com/openjdk/jdk/pull/12290

Thanks,
Eirik.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20230202/43010c34/attachment.htm>


More information about the core-libs-dev mailing list