Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Single occurrence in a string
Message
From
30/03/2015 08:09:57
 
 
To
30/03/2015 02:26:56
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01617326
Message ID:
01617382
Views:
70
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform