Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Side by side comparison (strings & local data)
Message
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Miscellaneous
Thread ID:
00861648
Message ID:
00861709
Views:
32
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform