Six vs Half a Dozen
Richard Gaskin
ambassador at fourthworld.com
Wed Nov 20 14:45:00 EST 2002
Rob Cozens wrote:
> Is there any functional difference between (in a script):
>
> on processThis toThis
> doThis toThis
> end processThis
>
> [No doThis handler in the script]
>
> and
>
> on processThis toThis
> send "doThis"&&value(toThis) to me
> end processThis
>
> on doThis toThis
> pass doThis
> end doThis
According to RevBench, the difference is only about 0.0007 ticks in favor of
directly calling the handler over using "send".
Why send the message to "me" only to pass it elsewhere?
--
Richard Gaskin
Fourth World Media Corporation
Developer of WebMerge 2.0: Publish any database on any site
___________________________________________________________
Ambassador at FourthWorld.com http://www.FourthWorld.com
Tel: 323-225-3717 AIM: FourthWorldInc
More information about the use-livecode
mailing list