einaregilsson / MyLife

MyLife: A single-user OhLife alternative
MIT License
26 stars 14 forks source link

Use StringIO for post Dropbox backup #2

Closed jacoballred closed 9 years ago

jacoballred commented 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.