Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mdot
Message
From
07/01/2005 09:19:49
 
 
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:
00975064
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?

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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform