Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Side by side comparison (strings & local data)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Divers
Thread ID:
00861648
Message ID:
00861709
Vues:
31
>>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
Garrett, can you expand on this a bit more please? Why is this faster?
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform