[PATCH] AbstractStringBuilder.append(<StringBuilder>)
Martin Buchholz
martinrb at google.com
Fri Jun 29 02:43:55 UTC 2018
On Thu, Jun 28, 2018 at 11:59 AM, Isaac Levy <isaac.r.levy at gmail.com> wrote:
> And can't remove append(StringBuffer) because of binary compatibility?
>
That seems right.
---
Also, the JIT can optijmize away any instanceof checks after inining when
it sees append(stringBuilder).
And any optimizations here are far less critical than they would be if they
applied to each individual char.
More information about the core-libs-dev
mailing list