[V4RB] Importing tab-delim.

Ruslan Zasukhin sunshine at public.kherson.ua
Sun Apr 6 14:23:28 CDT 2003


on 4/6/03 1:53 PM, Pedro fp at lists at pedro.net.au wrote:

> So which would be faster [if there is any significant difference]? ...
> 1.    Import the file line by line, doing the calculations & then calling
> AddRecord for each line.
   ^^^^^^^ UpdateRecord()

    this way may be faster, if all your imported records are in cache.
    I think you need do tests self.

> or
> 2.  Use ImportText & then loop through the cursor to do the
> calculations & call cur.Update() for every new record.
> There are 14 calculated fields [plus 3 pointers for self-joins] and
> anything from 1 to 12 imported fields if this information makes any
> difference.
> 
> Looking at it written like that it would seem to me that using
> ImportText could only be faster here if Update() is significantly
> faster than AddRecord.

Update is NOT faster of Add.

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://listserv.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list