Reduce allocation in sun.net.www.protocol.jar.Handler.parseURL
Eirik Bjørsnøs
eirbjo at gmail.com
Wed Jan 20 02:57:05 UTC 2021
>
>
> By letting canonizeString do the substring calls, but only when it
> determines that it is needed, we can remove some unnecessary String and
> byte[] allocations.
>
While English is not my mother tongue, I'm thinking we could maybe let the
Vatican deal with canonizations and rename this to the more appropriate
"canonicalizeString"?
Eirik.
More information about the core-libs-dev
mailing list