Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Comparing AddItem and AddListItem
Message
 
To
07/12/1999 10:01:36
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00299195
Message ID:
00299742
Views:
25
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform