Hacker News new | ask | show | jobs
by NigelTufnel 4516 days ago
I think that concatenation with + is okay when you're concatenating two strings. And CPython can optimize x = x + y or x += y calls.

http://docs.python.org/2/library/stdtypes.html