<i18n dev> RFR: 8299677: Formatter.format might take a long time to format an integer or floating-point

Raffaello Giulietti rgiulietti at openjdk.org
Wed Jan 11 19:11:29 UTC 2023


On Wed, 11 Jan 2023 10:47:03 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:

> This change transforms a O(n^2) path to O(n) when prepending zero padding to decimal outputs, where n is the length of the padding.

Added straightforward tests for padding.

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

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


More information about the i18n-dev mailing list