News for hackers. Stuff that matters.
Re:Performance Improvement with the StringBuilder for C++ by js2 on Friday September 06, 2013 @10:41AM (#6340654)
Modern Python is usually smart enough to optimize:

  s += "..."
Though I'm not sure if it similarly optimizes:

  s = s + "..."
But old habits die hard so I still use a list of strings and join them at the end.

There are no comments on this comment yet.