Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
With/Endwith performance gain.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00455430
Message ID:
00455438
Vues:
29
>I know that using WITH/ENDWITH yeilds a proformance gain because the system doesn't have to drill down to the object refrence in question but does WITH This have the same effect? It seems to me that it is the current object anyway so no drilling has to take place anyway.

The performance gain when only going one level deep is negligible or non-existent. The performance gain is only noticable when working with nested objects.

The reason I use With/Endwith for single level operations is readability. I think it's easier to understand and it saves me some typing. ;-)
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform