On 2/11/06, Seth Willits <[EMAIL PROTECTED]> wrote: > > Aha! I should have waited just 3 more minutes to send that email. > It's the Trim function that's slow. If I simply return line instead > of Trim(line) it's 68 times faster.
And there is no TrimB() which would probably make it fast again. BTW, in your posted code - since you use MidB - doesn't that create a nil encoded string? So, you have to restore the encoding afterwards using DefineEncoding again to have a proper string in the end again, don't you agree? -- Thomas Tempelmann - exaggerating over a million times a day! http://www.tempel.org/rb/ -- The primary source of outdated REALbasic plugins and examples Skype: tempel.org AIM: superTempel _______________________________________________ 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>
