There is no limit to the number of handlers, and it really won't 
affect performance, but I agree that breaking them up into logical 
groupings is a very good idea.

You state that most have 4 or 5 if ... then constructs.  Is there any 
similarity to these handlers?  Is it possible that you could combine 
a number of them into a single handler by passing in parameters (or 
using more parameters than you currently are)?  If this is the case, 
feel free to post some examples and maybe we can help you.

Irv

At 3:26 PM -0600 3/9/01, Dale Withroder wrote:
>i break mine up for sanity...
>
>i like to keep groups together...stuff that works on fields in one
>script...stuff that works on lists in another...stuff specific to the
>project at hand in another.  then when a new project comes along, i can
>grab all my pre-fab stuff from the lib
>
>At 01:07 PM 03/09/2001 -0500, you wrote:
>>Hello List,
>>I have a movie script that has almost two hundred custom handlers, most of
>which contain 4 or 5  if..then constructs --
>>Do you think that will degrade performance?  Is there any limit to the
>amount of custom handlers you want to put in the movie script?  I know
>that's a bit vauge and it depends on what the handlers do and how many
>other handlers they call.  I'm just lookin
>  >g for a general overall opinion.


-- 
Lingo / Director / Shockwave development for all occasions.

        (Over two millions lines of Lingo code served!)

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to