circumflex
circumflex copied to clipboard
Replace ineffective String concat in dialect.scala
dialect.scala features non-optimal String concatenation in
def select(q: Select[_]): String = { ...
Consider using StringBuilder for it.
Yes, you are right. Actually, I am thinking of some kind of QueryFormatter helper, which holds a mutable StringBuilder instance inside and also capable of pretty-formatting queries. Hope I'll get my hands on this one someday :)
Sounds like a good idea. Providing both single and multi-line serialization would be nice, I am not sure, if it's already there.