Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Intellisense in WITH ... ENDWITH
Message
De
07/09/2012 13:33:08
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
07/09/2012 12:06:26
Thomas Ganss (En ligne)
Main Trend
Frankfurt, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01550535
Message ID:
01552585
Vues:
74
>>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform