Dispatch Versus Send

Jim Bufalini jim at visitrieve.com
Thu Mar 4 18:18:42 EST 2010


Mark Wieder wrote:

> Richard-
> 
> Thursday, March 4, 2010, 2:37:47 PM, you wrote:
> 
> > FWIW, where they can be used interchangeably dispatch is about 20%
> faster.
> 
> Have you benchmarked that? Empirically that's what I'm seeing as well,
> but I've never actually timed it, so it's subjective here.

While we are on benchmarking, has anyone benchmarked the difference in speed
of  execution between just calling *commandName* verses *send "commandName"*
without "in time". I realize send allows dynamically constructing a command
name similar to a *do*  without the compile time factor of a *do*, but I
guess I've always been curious if there was a speed difference in execution
of a command vs. send command.

I guess not curious enough to actually benchmark it. ;-)

Aloha from Hawaii,

Jim Bufalini




More information about the use-livecode mailing list