Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to improve the speed
Message
From
09/02/1999 21:51:09
 
 
To
09/02/1999 20:20:07
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00185626
Message ID:
00185798
Views:
34
>I was surprised by Josh result: I didn't think that it would make that difference between a Rushmorized (!!!) LOCATE and a IndexSeek(). Even the Seek() was faster than the LOCATE.


The key difference between LOCATE and SEEK, is that with SEEK, the index is specfied, either in the SEEK command, or by the active index. Though they both are optimizable, each LOCATE command first has to find an index that it can work with, and then move the pointer. This extra work can make a huge difference in a tight loop.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform