Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
'SCAN FOR' vs 'LOCATE FOR'
Message
De
09/12/1999 23:10:56
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00301450
Message ID:
00301522
Vues:
32
>The speed improvements? I have seen speed improvements of 10X or more...
>
>So you see, the seek is a bit of a red herring here.. The real speed is in using the WHILE clause. Not the FOR clause. I bet 80% of the time a FOR clause is used, A WHILE clause with a SEEK could be used instead, dramatically improving performance...
>

I see... my mistake.. I thougt we were comparing finding a record with seek vs locate... You're right, I use the SEEK, SCAN REST WHILE all the time.

Let's not get into LOCATE vs GO TOP either... {G}

BOb
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform