On Sun, 16 Apr 2023 11:44:52 GMT, Sergey Tsypanov <stsypa...@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

Reply via email to