playframework/playframework — pull request #2268 by matthew-lucidchart (2014-01-14 19:29:17+00:00)
Title: Optimize templates. fixes #2033.

Use a single StringBuilder for building template output (as opposed to many string builders appending each other up the tree).
Don't create collections for single items in template source.
Change Appendable's definition to support single StringBuilder.