RFR: 8349991: GraphUtils.java can use String.replace() instead of String.replaceAll()
Archie Cobbs
acobbs 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.
Thanks for the review!
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23658#issuecomment-2679247388
More information about the compiler-dev
mailing list