Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Intellisense in WITH ... ENDWITH
Message
From
07/09/2012 13:33:08
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
07/09/2012 12:06:26
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01550535
Message ID:
01552585
Views:
72
>>>And the cost of passing a parameter and parsing its properties 30000 times vs properties being accessed in the WITH context? Consider that this has to happen in real time, i.e. between a click and the time the user expects to see some results.
>>
>>Passed by reference, is it any worse than the WITH? Certainly more obvious what object is being acted upon? :)
>
>Yupp. Function/Method calling are slow operations in vfp, and parameter passing makes it progressively worse.
>This is not a statically type language. For such tight loop situations I also move away from parameter passing,
>but instead of with I prefer privates so oddly named, that conflict is nearly impossible.
>For a use case as Dragan describes, the with has a certain charme - as long as all coders know the dangers.

I'm alone in that neck of the app's woods, and I comment generously.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform