Integrated: 8321591: (fs) Improve String -> Path conversion performance (win)
Brian Burkhalter
bpb at openjdk.org
Mon Apr 7 18:49:50 UTC 2025
On Thu, 3 Apr 2025 01:07:34 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
> Improve the performance of `WindowsPathParser.normalize` by using a `char` array to perform the normalization in place instead of appending to a `StringBuilder`. The `Result` inner class is also converted to a `record`.
This pull request has now been integrated.
Changeset: 5481021e
Author: Brian Burkhalter <bpb at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/5481021ee64fd457279ea7083be0f977c7ce3e3c
Stats: 146 lines in 2 files changed: 91 ins; 33 del; 22 mod
8321591: (fs) Improve String -> Path conversion performance (win)
Reviewed-by: alanb
-------------
PR: https://git.openjdk.org/jdk/pull/24400
More information about the nio-dev
mailing list