<snip>
>
If I have a recurring loop taking considerable amounts of runtime,
>I can optimize this loop (as we both probably do) with "loop".
>But even the time spent optimizing the speed of calling UDF / methods
>with a few parameters would probably better for the speed of the whole app.
>
>I think such an optimization would be a non-optimal use of the resources of the VFPT -
>other optimizations could make a greater difference to the "usual" app.
>
>regards
>
>thomas
Hi Thomas,
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)
- to change a property's value using the same property's value
object.property= fn(object.property)
and many others are more useful.
Fabio