From a technical standpoint, how could calling an external function possibly be faster than using a function directly available to the form? Does anyone know how VFP compiles these two types of functions?
>>>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
>
>Almost half a second is
insignificant?
>
>My experience is that users start complaining when app processes take more than a few seconds. (They're used to word-processors [s]). Call a number of functions repeatedly and that half second adds up quick.