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:
00397976
Vues:
25
Brien,

Just an addendum here, before anyone jumps me...

There is no additional file I/O with setting and clearing the tag. This is because VFP automatically opens or has open the index when the file is opened or the index is created. Sorry.

However, there is additional code overhead. This is demonstrable by replacing

SET ORDER TO < tag name >
SEEK(< expr >)
SET ORDER TO

with

SEEK < expr > ORDER TAG < tag name >

because the latter will be faster.
George

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

Click here to load this message in the networking platform