Performance comparison between different kinds of string concatenation/formatting in Java/Scala UPD: Here is the Pull Request to scala-compiler with changes inspired by this post. String concatenation is a basic building block in every modern programming language. Many different projects, especially in Web, produce a lot of strings. And it’s interesting, how this problem is solved in different lan