Call vs Send
Richard Gaskin
ambassador at fourthworld.com
Fri Jun 10 01:10:04 EDT 2005
Dick Kriesel wrote:
> On 6/9/05 6:23 PM, "Richard Gaskin" <ambassador at fourthworld.com> wrote:
>
>>But to be honest, it's very rare that I use either "call" or "send".
>>Both are up there with "do" in terms of a modest amount of additional
>>overhead needed to handle them relative to calls natively in the message
>>path.
>
> On 6/9/05 8:51 PM, "Richard Gaskin" <ambassador at fourthworld.com> wrote:
>
>>>What are the relative timings of handlers in the message path vs. handlers
>>>outside?
>>
>>About twice as long, but as with many benchmarks with Transcript it
>>hardly matters: "twice as long" sounds like a big deal, but on my 1GHz
>>G4 that's still less than a microsecond. :)
>
> Are there stronger reasons for you to use "call" and "send" very rarely? I
> ask because I've been using "send" a lot.
I don't feel too strongly about it one way or another. I just don't find
myself needing "send" often in the stuff I'm doing. But if you need it
I see no harm in using it.
--
Richard Gaskin
Fourth World Media Corporation
__________________________________________________
Rev tools and more: http://www.fourthworld.com/rev
More information about the use-livecode
mailing list