RFR: 8301873: Avoid string decoding in ZipFile.Source.getEntryPos [v7]

Eirik Bjorsnos duke at openjdk.org
Thu Feb 9 11:35:47 UTC 2023


On Thu, 9 Feb 2023 11:17:54 GMT, Eirik Bjorsnos <duke at openjdk.org> wrote:

> It helps... a lot!

I guess an update to String.startsWith should be handled separately from this PR.

If startsWith will be optimized, then I'm happy to update this PR to use startsWith as you suggested. Then ZipCoder will speed up for free with any later startsWith optimization.

-------------

PR: https://git.openjdk.org/jdk/pull/12290



More information about the security-dev mailing list