RFR: 8315585: Optimization for decimal to string [v7]

Claes Redestad redestad at openjdk.org
Mon Oct 23 19:24:42 UTC 2023


On Mon, 23 Oct 2023 11:50:02 GMT, Shaojin Wen <duke at openjdk.org> wrote:

> Can I add scale2 method to StringLatin1?

I'd strongly advice against this. 

> I think this is more readable than using MethodHandle.

View the `MethodHandle`s you add to use `StringConcatFactory` here as a temporary workaround before the code can be simplified to just regular string concatenation.

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

PR Comment: https://git.openjdk.org/jdk/pull/16006#issuecomment-1775876481


More information about the core-libs-dev mailing list