RFR: 8302163: Speed up various String comparison methods with ArraysSupport.mismatch

Sergey Tsypanov stsypanov at openjdk.org
Mon Feb 13 15:11:25 UTC 2023


On Mon, 13 Feb 2023 09:59:24 GMT, Claes Redestad <redestad at openjdk.org> wrote:

> We can improve various String methods such as `startsWith`, `endsWith` and `regionMatches` by leveraging the intrinsified mismatch methods in `ArraysSupport`.

Looks simple and harmless.

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

Marked as reviewed by stsypanov (Author).

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


More information about the core-libs-dev mailing list