Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Side by side comparison (strings & local data)
Message
 
To
23/12/2003 13:36:12
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Miscellaneous
Thread ID:
00861648
Message ID:
00861706
Views:
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
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform