Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SCAN vs. FOR
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00135531
Message ID:
00135567
Views:
9
>>I'm a little surprised to find that FOR is faster than SCAN (in applicable situations) in some tests I did in vfp6. The old rule was the other way around, I believe...
>
>What exactly were you doing?

For each record, call a method to check a substring against other strings, basically. The FOR was something like 10-15% faster, important to me since I have to do this 1000s of times in some research work...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform