Why is dispatch so fast?

Mark Wieder mwieder at ahsoftware.net
Sun Nov 10 12:33:31 EST 2013


Monte-

Saturday, November 9, 2013, 10:30:38 PM, Richard wrote:

>> Why is the dispatch command so much faster than do, send, or call?

> The main difference appears to be send needs to parse the params
> from the string. Do obviously needs to be parsed on the fly too.

Yes, it's the runtime parsing that slows these down.

>> Bonus points:  Why is the Server standalone engine so much
>> larger than the Linux standalone engine?

> Server is statically linked to a bunch of libraries to improve portability.

...and this is basically a good thing, although it does limit the
flexibility of being able to take advantage of updates to libraries.

-- 
-Mark Wieder
 ahsoftware at gmail.com





More information about the use-livecode mailing list