I don't remember where this information was but I think @jrrideout had linked to documentation that showed that it was better to have a list of strings and then join the strings on new lines as opposed to grow the string line by line. I however cannot find such documentation/link.