On Wed, 12 Apr 2023 17:41:58 GMT, Roger Riggs <rri...@openjdk.org> wrote:

>> Added benchmark for this
>
> 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`?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/12131#discussion_r1167869599

Reply via email to