Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Comparing AddItem and AddListItem
Message
 
À
07/12/1999 10:01:36
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00299195
Message ID:
00299742
Vues:
24
Nancy,

I tried a couple of things. One I modified the code so that there was no reference to .NewItemID inside the loop using a memvar instead. The results there were similar to the original although the AddListItem was a little beter.

The important thing I noticed is based on my second test. I tried reducing the number of items being added from 1000, to 500, and then 200. With each reduction the difference between the two methods got smaller until, at 200 items, they were .01 seconds different.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform