Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Comparing AddItem and AddListItem
Message
 
 
To
06/12/1999 22:24:37
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00299195
Message ID:
00299538
Views:
35
Nancy,

The only obvious thing to me is that the second combo is making 3 more object property dereferences (6 .NewItemId refs vs 3 .ListCount ref) in the loop. I'm not sure off the top of my head when that value changes, you might be able to put it in a local memvar as an optimization.

>Thanks David. Maybe I'll ask Calvin +why+ in New Orleans. :)
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform