realbasic-nug
[Top] [All Lists]

Re: Quickest way to build a string?

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: Quickest way to build a string?
From: Jeremy Cowgar <jeremy@cowgar.com>
Date: Fri, 30 Jan 2009 08:46:52 -0500
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <5B7D8607-866E-41FD-874E-88196E459F33@declareSub.com>
References: <498238EF.4010801@cowgar.com> <89fe53800901291522g15d22c94o8ec5c610c28156c6@mail.gmail.com> <B0340CA7-A78B-49AF-84F5-1F6601FB7FF5@great-white-software.com> <EBE14EB7-0345-443F-A078-67DBA20B585C@declareSub.com> <4982FDC3.1070305@cowgar.com> <5B7D8607-866E-41FD-874E-88196E459F33@declareSub.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
User-agent: Thunderbird 2.0.0.19 (Windows/20081209)
Charles Yeomans wrote:

On Jan 30, 2009, at 8:16 AM, Jeremy Cowgar wrote:

Charles Yeomans wrote:

Charles implemented such a thing a couple years ago :)

But has since abandoned it in favor of string arrays and Join :)

In your testing, that was the quickest way?

Jeremy


In my testing, arrays and Join. But how much concatentation are we talking about?

Some of the text files are ~100k in size. I have not run into a speed problem, but if there is a right/wrong way of doing it, I'd rather do it the right way to begin with. I know everyone says premature optimization is evil, but no sense either in using the known fast method to start with. I don't really profile my apps until I've got a good base in place, but I don't use methods I know are slow either.

Jeremy


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

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>