Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mdot
Message
De
07/01/2005 01:16:10
 
 
À
07/01/2005 01:03:47
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: Mdot
Divers
Thread ID:
00974967
Message ID:
00974972
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?
>
>Perhaps I am just stating the obvious, when I say that there is no replacement for an actual test program.
>
>It does make sense to assume that you will save VFP some work when you tell it, with m.MyValue, that MyValue is actually a variable and not a field, and that VFP will, in all likelyhood, repeat the process each time the loop runs. But how significant this effect is, compared to the overall execution time, and whether other factors may actually act in the opposite direction, is hard to tell without an actual test.
>
>Regards,
>

Hi Hilmar. Thanks but I am not asking if it is faster or not. The question has a definitive answer as to whether these lookups are performed or not. Someone knows for sure whether this is the case or not.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform