Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The m. variable thing, the sequel
Message
From
16/12/2004 08:58:37
 
 
To
16/12/2004 05:38:15
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00969478
Message ID:
00969705
Views:
32
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform