Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The other way around
Message
From
27/06/2000 14:28:52
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00385262
Message ID:
00385284
Views:
11
Hmmm....I hadn't thought about that....In testing it is(!).

A 1 to 1000000 loop is faster that 1000000 to 1. 3.30 seconds vs. 3.35....


>>
>Going from the first character to the last in the loop rather than the last in the first. I thought, mistakenly as it turns out, that incrementing the loop positively (from 1 to n) would be faster than decrementing it (from n to 1). No ig deal.:-)
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform