On Thu, 21 Sep 2023 12:51:56 GMT, Raffaello Giulietti <rgiulie...@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. On my platform, conversions are never slower and are faster on short significands. ------------- PR Comment: https://git.openjdk.org/jdk/pull/15861#issuecomment-1729530394