Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Side by side comparison (strings & local data)
Message
 
À
23/12/2003 13:36:12
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Divers
Thread ID:
00861648
Message ID:
00861706
Vues:
30
>However I never found VFP's string handling fast. It uses things like
>handles to memory locations. If you do like in your code :
lcXML = lcXML + someaddition
>Adding over and over to same variable is not optimized at all. However
>that code might be optimized in different ways (in VFP there are at least
>3 ways:).

Actually, there is some optimization going on in that case. Unfortunately, it can cause the code to break in recursive cases. To avoid the optimization _IF_ you are hitting this problem, change it to read:
lcXML = "" + lcXML + someaddition
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform