Short summary: chain append(x).append(y) of StringBuilder works faster than ordinal sb.append(x); sb.append(y) .
So, questions:
Does Kotlin have any tuning for this for inline string format (e.g. for “test, text, $myVariable, next text”)?
Does Kotlin have optinizations to convert developer’s code to JVM-friendly code (e.g. when dev. wrotes code in unoptimal way, Kotlin can do invisible speedup)?