<i18n dev> RFR: 8300818: Reduce complexity of padding with DateTimeFormatter [v2]
Roger Riggs
rriggs at openjdk.org
Mon Apr 17 15:24:38 UTC 2023
On Sun, 16 Apr 2023 11:44:52 GMT, Sergey Tsypanov <stsypanov at openjdk.org> wrote:
>> Special casing for len == 0 and keeping the existing buf.insert for len == 1 would avoid object creation except when it would improve performance.
>
> @RogerRiggs sorry I don't get it. Maybe you mean speacial casing for `padWidth - len`?
Yes, I meant on the length of the inserted padding.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/12131#discussion_r1168891583
More information about the i18n-dev
mailing list