Target not working???

David Burgun dburgun at dsl.pipex.com
Tue Mar 28 05:25:50 EST 2006


Hi Jacqueline,

Right now there isn't a scan! But this means that I have to do this  
each time a Handler is called (or maybe get an execution error):

if the script of ObjectX contains theHandlerName then

Which is slow, so I thought it better to scan all the Objects and  
build an Array of all the functions in a script at "start using"  
time. The scan is performed only once and should result in better all  
round performance.

This is the extra work I was talking about before I release it to  
revOnline.

All the Best
Dave

On 27 Mar 2006, at 19:10, J. Landman Gay wrote:

> David Burgun wrote:
>
>> The idea is that when a Client Stack does a "start using" I want  
>> to  scan all the scripts in the stack and if there is a handler  
>> called  "ISM_InitializeObject", call it and when doing a "stop  
>> using" I want  to call "ISM_FinializeObject".
>
> I just knew you had to have a scan in there somewhere. ;)
>



More information about the Use-livecode mailing list