Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Do the Mdots have it?- Attn Ken Levy
Message
From
26/04/2002 18:23:07
 
 
To
25/04/2002 22:15:50
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00649450
Message ID:
00649835
Views:
33
Using m.var *is* faster than var by itself. I don't recall why, but it has something to do with losing cycles trying to figure out if var = memvar, fields, whoozit, whatzit, et al. By using "m.", the var is immediately identified as a memvar.


>Ken
>
>Reputable people report that use of m. nomenclature on the right side of variable assignment is far faster in VFP7 than m.-less syntax.
>
>I.e.
>
>
>myvar=m.lcMyOtherVar
>
>
>is much faster than
>
>
>myvar=lcMyOtherVar
>
>
>The difference is not that using m. is now faster; the difference is that NOT using m. is much slower than it used to be with VFP6.
>
>Those of us who deliberately changed to hungarian notation seem to be disadvantaged.
>
>Why has this happened? Is there a new feature/benefit that causes this as a side effect?
>
>Regards
>
>JR
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform