Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The m. variable thing, the sequel
Message
De
16/12/2004 08:58:37
 
 
À
16/12/2004 05:38:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Database:
Visual FoxPro
Divers
Thread ID:
00969478
Message ID:
00969705
Vues:
35
Sorry Fabio, uhmmmmm, I guess I wasn't clear in my joking around once the conversation began wondering off into the woods talking about intelligence. FWIW, and it isn't worth much, I did a little timing on the mmmmmmmmmmmm thing, which I usually pay heed to but had drifted away from in my laggard, uhmmm "later" years. And, the uhmmmm, results were:

x=y 42 seconds
x=m.y 17 seconds
x=fld255 39 seconds
x=test.fld255 42 seconds

So, there is an appreciable gain when a memvar is prefixed with, uhmmmmm, m. but a slight penalty when a field name is prefixed with the alias.

This is using the VFP9 beta. So, guess I'll mend my ways and use m. whenever appropriate. OTOH, I don't think it's worth the trouble to go back and try to find every instance where I didn't do it.
Scott Ramey
BDS Software
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform