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

Raffaello Giulietti rgiulietti at openjdk.org
Thu Jan 12 19:24:26 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.

This pull request has now been integrated.

Changeset: 33412c10
Author:    Raffaello Giulietti <rgiulietti at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/33412c102ce799ff2de3512df77e6e07d76acd36
Stats:     318 lines in 2 files changed: 313 ins; 1 del; 4 mod

8299677: Formatter.format might take a long time to format an integer or floating-point

Reviewed-by: alanb, stsypanov, darcy

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

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


More information about the i18n-dev mailing list