Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
To improve the speed in VFP 6.0 exe
Message
 
À
22/11/2000 20:00:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00443927
Message ID:
00445663
Vues:
20
I inherited a piece of code that had a large number of replace statements after using several large select statements to build cursors and did some calculations along the way. It took 15 minutes to produce a report on a dataset with over 300,000 records. I replaced all of the replace statements I could with scatter and gathers and combined the other replace statements ( one that entailed some calculations ) into one replace statement ( one statement excutes faster than many ). This sped up my process 4.5 minutes. I also replaced all the locate for ... with seek after indexing the cursors I produced. The time dropped to just under 3 minutes. Just an idea.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform