Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Editing a sub-routine
Message
From
11/01/2005 08:24:01
 
 
To
10/01/2005 13:38:30
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Miscellaneous
Thread ID:
00975393
Message ID:
00975988
Views:
18
>RE: Major Performance Penalty
>
>Is this type of thing still an issue? I mean, CPUs are so fast now ... not that performance isn't an issue (I have one calculation that runs for 20 minutes), but rather that it seems that the overall design seems to be of much more major of a concern that the internals of how VFP does things.

Just looked at my notes on this (which happen to be in the Hacker's Guide, where everyone can read them <g>). At my last testing, having:
*MyProg.PRG
PROCEDURE MyProg
* Code starts here
was 10 times slower than:
*MyProg.PRG
* Code starts here
in VFP 6 and earlier, but the penalty was gone in VFP 6 SP3 and VFP 7. Haven't tested since then.

You also raise a good question about the importance of such things in an era of fast CPUs. It depends, of course, on how many times you make such calls.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform