Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object to Data
Message
De
16/03/2011 07:06:59
 
 
À
16/03/2011 04:36:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01502925
Message ID:
01503842
Vues:
41
>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform