FrontScripts speed

Richard Gaskin ambassador at fourthworld.com
Tue Apr 8 13:17:44 EDT 2008


Tim Bleiler wrote:
> Anyone have any ideas why a script inserted into the front would run  
> MUCH slower than the same script run from a stack script placed in  
> the message path with "Start using"?

Execution speed is pretty much unaffected by the location of the handler 
in the message path, with the only exception being a very minor (barely 
measurable) increase in performance the closer a handler is to the front 
of the queue.  This means, however, that a frontScript would be a tiny 
bit faster than a library or backscript.

So whatever's causing the perceived slowdown must be related to the 
interaction of the script with others in the message path.

What does the script do?

-- 
  Richard Gaskin
  Managing Editor, revJournal
  _______________________________________________________
  Rev tips, tutorials and more: http://www.revJournal.com



More information about the use-livecode mailing list