Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Do the Mdots have it?- Attn Ken Levy
Message
De
26/04/2002 18:23:07
 
 
À
25/04/2002 22:15:50
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00649450
Message ID:
00649835
Vues:
39
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform