§ Fast string concatenation in python3


Apparently, the correct way to do this, in a way that's not O(n^2) is to use the io.StringIO module. The API is:

It took quite a bit of trawling the API docs to find this while I was helping a friend speed up some data munging.