Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP versus C++
Message
From
30/10/2003 19:07:40
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00842594
Message ID:
00844776
Views:
17
>I must be missing something. What was the values returned in C++? I also wonder whether you created the string to its full length within the timing in C++ as well.

Well, actually, the original routines (FLL/C++ and VFP) that Christof Lange sent me created the string to its full length in the DO WHILE loop! In my test I moved it to outside the loop. But you're right that it should be created even earlier, that is before the nStart is declared, since it has nothing to do with what we're testing here. Nevertheless, this can't explain the speed difference, since both had it declared on the same spot.
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Previous
Reply
Map
View

Click here to load this message in the networking platform