I have a question regarding text construction performance, I have a large text (1000 lines) with formatting etc, in a summarized way (it's not this text but I'll use an example) I have 2 ways to construct it
StringBuilder sb = new StringBuilder();
sb.append("oi" +
"meu nome" +
"é" +
"Jonny");
Or
sb.append("oi");
sb.append("meu nome");
sb.append("é");
sb.append("Jonny");
In terms of execution time and memory, what would be the most appropriate? or are the two running at the same speed? (I'm using visual studio 2017)