Walter Meester
HoogkarspelPays-Bas
Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Network:
Windows 2008 Server
>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.
Marcia,
I agree with that. It was only in the response to John claiming that your and my solution were almost identical.
OTOH, more often than not shorter code is faster, but more importantly, better maintainable.
Walter,
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement