Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Speed: Methods vs. External Functions?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00030888
Message ID:
00031150
Views:
44
>Ack, external functions are actually _faster_ than methods? Can anyone >confirm this?

I just did a test that simply called each of a method, fucntion in proc file and prg function. The functions return .t.. I called them 10,000 times each and the times ( for 10,000 calls) were;

Method 0.6 Avg
Procedure file func 0.2 avg
PRG func 0.2 avg

I would conclude that although there is a difference between the calling of methods vs procs, it is insignificant as it is less than 0.4 seconds for 10,000 calls.

JimBooth
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform