Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Speeding up search - Locate For or Seek?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00397065
Message ID:
00397964
Vues:
30
Brien (and Peter),

I think I've found the answer. In my original test TALK was set to OFF. When set to ON, LOCATE and SEEK yielded approximately the same. However, when set to OFF, SEEK (using the same test) was about 325% faster on a P200/MMX w/64 Mb of RAM. This was with VFP 6.0 SP3.

TALK should be set to OFF to produce valud results. Otherwise, screen I/O is factored in. Further, if one truly wishes to measure the relative speeds, SEEK should not have to continually open and close the index. In doing so, you measure file I/O as well and not the true performance of the function.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform