From: Seth Willits <[EMAIL PROTECTED]>
Date: Fri, 10 Feb 2006 21:40:08 -0800

On Feb 10, 2006, at 9:34 PM, Seth Willits wrote:

5 minutes and 38 seconds in 2006r1.

5 *seconds* in 5.5.5.

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.

ElfData.Trim is pretty fast. http://www.elfdata.com/plugin/ technicalref/ElfDataMCat8.html#Trim

Also, you'll find that ElfDataFields ( elfdata.com/plugin/ technicalref/ElfDataFieldsM.html ) is much easier to use than your "getline" approach. It's similar in that it only returns to you one line at a time (instead of creating a huge array), however it is premade, it doesn't require you to store any variables for the position of the current line, it takes care of all of that.

ElfData plugin is free for non-commercial use and it is for Linux, Mac and Win32.

--
http://elfdata.com/plugin/



_______________________________________________
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