Thanks for the heads up!
BTW, here’s the original blog post (in English): StringBuffer and StringBuilder performance with JMH - AlBlue’s Blog
We generate chained append
calls for string templates ("blah ${expr} blah"
) and chained string concatenation (s1 + s2 + s3
).
Currently - no, we don’t. I’ve created an issue in YT: https://youtrack.jetbrains.com/issue/KT-18558