Revolution speed sucks?

Richard Gaskin ambassador at fourthworld.com
Thu Aug 7 17:56:01 EDT 2003


Alex Rice wrote:

> On Tuesday, August 5, 2003, at 10:01  PM, Richard Gaskin wrote:
>> - Unless a lengthy operation also needs to process system messages, use
>> "lock messages" before the operation and "unlock messages" when it's
>> done.
> 
> Richard, the Rev docs mentions "lock messages" but not in the context
> of optimization. I understand that by cutting out getprop/setprop
> calls, things could go faster. Anything else it does? Can you give an
> example of when it wouldn't be safe to use lock messages?

Just those cases where your scripts depend on them, such as going to a card
where the card expects to initialize itself with a preOpenCard handler.

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge: Publish any database on any Web site
 ___________________________________________________________
 Ambassador at FourthWorld.com       http://www.FourthWorld.com
 Tel: 323-225-3717                       AIM: FourthWorldInc




More information about the use-livecode mailing list