Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mdot
Message
From
07/01/2005 01:03:47
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
07/01/2005 00:48:19
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Mdot
Miscellaneous
Thread ID:
00974967
Message ID:
00974969
Views:
17
>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,

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform