On Feb 13, 2006, at 1:52 AM, Ronald Vogelaar wrote:
I am still puzzled. You responded to a posting about the speed of reading chunks of text from a file and adding it to a string, saying 'Join' would be much faster than FastString for that purpose. I failed to understand where 'Join' would fit in, and frankly, I still do.

It was posted earlier in the thread. Basically instead of concatenating a string from the file to a buffer string each time you read, you append a string to an array of strings. Then at the end of your reading you "join" the array into one string. This prevents creating a string every time you append instead of concatenate.

HTH,
Kevin
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to