RFR: 8321591: (fs) Path.of(URI) performance (win)

Daniel Fuchs dfuchs at openjdk.org
Thu Apr 3 08:43:07 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`.

I skimmed through the changes and they look reasonable. I assume there are tests that already cover path normalization on windows?

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

PR Comment: https://git.openjdk.org/jdk/pull/24400#issuecomment-2774907498


More information about the nio-dev mailing list