Closed jacoballred closed 9 years ago
Appending strings in Python is apparently very memory intensive. By using StringIO, we can treat the string like a file (instead of an object) which saves a ton of memory.
Appending strings in Python is apparently very memory intensive. By using StringIO, we can treat the string like a file (instead of an object) which saves a ton of memory.