Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Single occurrence in a string
Message
De
30/03/2015 08:09:57
 
 
À
30/03/2015 02:26:56
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01617326
Message ID:
01617382
Vues:
69
Marcia used 13 lines of code, I 7. Marcia, used only 1 string to do the work. I used 2. Performance difference, 2 orders of magnitude.

Not that this really matters in this example, but fewer lines of code doesn't not necessarily mean better performance. Andy has presented several conference sessions over the years on optimizing VFP and has plenty of examples to support this.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform