Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
M. performance
Message
From
23/04/2002 12:45:15
Mike Yearwood
Toronto, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00647967
Message ID:
00648276
Views:
33
Nadya

Its not a matter of my "rule" being correct. Its that my rule requires me to operate within VFPs rules 100% of the time and without any exceptions. Sergeys rule will have exceptions and means he cannot apply it 100% of the time. Performance isn't enough to judge a rule.

>>>>I'm sorry Nadya, but it's not enough to say that it's is incorrect, you've to prove that.
>>>I've just posted a test result in reply to Elmer. Anyway, here it is:
>>>
>>>local i, ab, lnSec
>>>lnSec =seconds()
>>>for i=1 to 10000000
>>>    ab=1
>>>next
>>>?seconds()- m.lnSec
>>>clear all
>>>lnSec =seconds()
>>>for i=1 to 10000000
>>>    m.ab=1
>>>next
>>>?seconds()- m.lnSec
>>>
>>>14.115sec. vs. 16.743sec.
>>
>>It's only 2 sec's per 10,000,000 iterations.
>>
>>Here's my results for the same test
>>
>>5.324 vs 5.535
>
>The difference is neglectable, but it does exist!!! So, your rule is not perfect while Mike's rule is correct, and this is the rule I always use.
>
>So, you can still use your rule and I will use mine. I'm not going to convert you :)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform