Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Speed of SKIP
Message
De
02/11/2001 02:01:05
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
 
 
À
02/11/2001 01:21:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00576573
Message ID:
00576585
Vues:
17
oh haha, I forgot I can test it <g>

program I used:
use MyTable in 0 order tag MyTag shared
count to n
go top
?seconds()
do while not eof()
  skip
enddo
?seconds()

go top
?seconds()
skip n
?seconds()
result I got:
53326.786
53326.798
53326.799
53326.804
My table has 2000 records, skip 2000 is obviously faster..
I dunno if it's accurate to test in this way though :)

Jimi

>>hi all,
>>
>>Just wonder, for an indexed table:
>>
>>SKIP 50
>>
>>SKIP
>>SKIP
>>SKIP
>>...
>>SKIP (50 times)
>>
>>Does SKIP 50 a lot faster or just similar?
>
>Test it and let us know the results!
error(503): file structure failure, signature file corrupted.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform