RFR: 8276904: Optional.toString() is unnecessarily expensive

Roger Riggs rriggs at openjdk.java.net
Thu Dec 2 20:01:16 UTC 2021


On Wed, 10 Nov 2021 17:44:04 GMT, Eamonn McManus <emcmanus at openjdk.org> wrote:

> Use string concatenation instead of `String.format`.

Looks ok on the face of it. I would be useful to see the performance of the improvement.

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

PR: https://git.openjdk.java.net/jdk/pull/6337


More information about the core-libs-dev mailing list