RFR: 8349991: GraphUtils.java can use String.replace() instead of String.replaceAll()
Maurizio Cimadamore
mcimadamore at openjdk.org
Mon Feb 24 18:02:03 UTC 2025
On Mon, 17 Feb 2025 02:38:20 GMT, Archie Cobbs <acobbs at openjdk.org> wrote:
> This is a tiny performance improvement that replaces a few invocations of `String.replaceAll()` with equivalent invocations of `String.replace(char, char)` and avoids the unnecessary use of regular expressions.
Marked as reviewed by mcimadamore (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/23658#pullrequestreview-2637980296
More information about the compiler-dev
mailing list