Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to improve the speed
Message
De
09/02/1999 21:51:09
 
 
À
09/02/1999 20:20:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00185626
Message ID:
00185798
Vues:
33
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform