On Mon, 21 Oct 2024 14:25:06 GMT, Raffaello Giulietti <rgiulie...@openjdk.org> 
wrote:

> This helps in reducing memory consumption, especially for long inputs.

src/java.base/share/classes/jdk/internal/math/FloatingDecimal.java line 1875:

> 1873:             }  // look for and process decimal floating-point string
> 1874: 
> 1875:             byte[] digits = new byte[ len ];

Suggestion:

            byte[] digits = new byte[len];

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21614#discussion_r1832129129

Reply via email to