Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object to Data
Message
From
16/03/2011 07:06:59
 
 
To
16/03/2011 04:36:31
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01502925
Message ID:
01503842
Views:
42
>>2. Building a single "UPDATE" statement and using macro expansion did NOT, indeed it made things worse.
>
>Did not expect that to be honest

without seeing code guessing that it this stems from "replace" working on currently loaded buffers vs. update having to identify record first in the set

>Do you mean you create the array once per instantiated object and reuse it rather than using amembers() for each save ?
>Since you have to access all the elements of the array, for each is faster

>>I have not yet gone over to separate cloned objects and using CompObj() but I am looking into it.

What is the reason to check each field via rel. slow vfp code ? if compobj shows difference, gather from name walks the object fields in C, should be faster. Having special data objects with no other properties probably speeds this process up a tiny bit.
If this is an attempt to minimize conflict frequency, using other approaches is preferable IMHO.
Previous
Reply
Map
View

Click here to load this message in the networking platform