Over the weekend I applied this approach to some code that exports a database to a text file. In this situation, the output string could become enormous. Do you guys see any problems with this approach in such a situation? Are there benefits to having many small writes rather than one big one if the big one would end up being a string that might be thousands of lines long?
(submitted from my phone, be gentle)
This post has been edited by atraub: 10 September 2012 - 10:21 AM