On Thu, 7 Nov 2024 06:32:42 GMT, Andrey Turbanov <aturba...@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]; @turbanoff I'll apply your suggestions later, in [PR 21840](https://github.com/openjdk/jdk/pull/21840) ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/21614#discussion_r1842008188