vhcr
Joined 4 years ago
Karma
642
Submissions
244
Member since
Nov 19
Joined 4 years ago
ret = ""
for s in strings:
ret += s
is that it re-allocates O(n) times, even if ret is referenced only once.https://github.com/python/cpython/commit/a70b19147fd163744be...