Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mdot
Message
De
07/01/2005 09:19:49
 
 
À
07/01/2005 00:48:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: Mdot
Divers
Thread ID:
00974967
Message ID:
00975064
Vues:
16
>Hi All,
>
>I am trying to confirm a point iro the working of mdot: if I have a file with 10 fields and 100 records and I need to scan through this file and inside my loop I reference 10 variables then will VFP need to lookup and resolve 10 vars x 10 fields x 100 recs = 10,000 field/variable references? Would using mdot avoid the need to perform 10,000 field/vars lookups?

Hi Jos:
The answer is simple: YES.
Time = O(1 + K1* FCOUNT()* NVariableWithoutMdotReads)
Another case is this: objRef.Property read ( Property is a random choice from AMEMBERS )
Time = O(1 + K2 * AUSED()* NObjRefWithOneDotReads + K3 * NObjRefReads * AMEMBERS(ObjRef))
Fabio
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform