Withdrawn: 8316662: Remove one allocation per conversion in Double.toString(double) and Float.toString(float)

duke duke at openjdk.org
Fri Feb 16 22:01:05 UTC 2024


On Thu, 21 Sep 2023 12:51:56 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:

> By correctly sizing an intermediate `byte[]` and making use of the internal `newStringNoRepl()` method, one allocation per conversion can be avoided when the runtime uses compact strings.

This pull request has been closed without being integrated.

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

PR: https://git.openjdk.org/jdk/pull/15861


More information about the core-libs-dev mailing list