Hi Lew

Just FYI, but Drew Speedie had some code in MaxFrame that used
filetostr to read in an application's main .prg file. At the bottom of
the .prg is a procedure listing of the files in the project. A project
hook method updates this listing as files are added/removed. I changed
that method to fill a cursor using APPEND FROM and it was
significantly and visibly faster.

It depends on the type of file of course.

Mike Yearwood

> Message: 7
> Date: Wed, 01 Oct 2008 23:00:56 -0400
> From: Lew <[EMAIL PROTECTED]>
> Subject: RE: Memory compaction/clean up
> To: [EMAIL PROTECTED]
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="us-ascii"
>
> Oops. I wasn't paying attention to your statements. It has nothing to do with 
> the array. Even though my
> original code used alines(aArray,filetostr(bigfile)), I broke it down to 
> isolate the problem, so now I'm using
> cBuffer = filetostr(bigfile), then alines(aArray, cBuffer) ie 2 statements. 
> It's the filetostr() that's
> failing as I originally stated. Nothing to do with the array.
>


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to