> 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.
Raffaello Giulietti has updated the pull request incrementally with one additional commit since the last revision: 8299677: Formatter.format might take a long time to format an integer or floating-point ------------- Changes: - all: https://git.openjdk.org/jdk/pull/11939/files - new: https://git.openjdk.org/jdk/pull/11939/files/e5418829..8c3e3856 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=11939&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=11939&range=01-02 Stats: 113 lines in 1 file changed: 112 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/11939.diff Fetch: git fetch https://git.openjdk.org/jdk pull/11939/head:pull/11939 PR: https://git.openjdk.org/jdk/pull/11939