Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ISSUE: uses LOOP for faster loop cycles
Message
 
 
To
01/05/2005 12:41:47
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01009925
Message ID:
01010042
Views:
22
Hi Fabio,

I agree with Thomas that even if optimization is possible it doesn't mean it should be implemented because its effect either non-significant or it can be implemented in code in special cases.

>
>I Agree.
>
>I have intentional to show a possible improvement for the simple loops,
>and only to say that it is possible to make it with the compiler.
>
>As an example,
>the optimization of the
>- use of the string variables into VFP command.
>
>? LEN(m.String)
>? LEN(@m.String)  && don't copy the string into the VM buffer
>
>- to change a property's value using the same property's value
>
>object.property= fn(object.property) && scan object's property list 1 time only
>
>and many others are more useful.
>
>Fabio
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform