is it faster to use global variables or (sprite)properties or
In other words is it smart to use as less globals as possible
or not (in terms of speed)? Or does it not make a diffrence.
In general, use the less globals possible, for various
reasons (clearer &
safer code, ability to reuse names etc.).
In terms of speed, local variables are faster in most
(hierarchical, local definitions checked first + fewer
entries to search
for). In director however, any difference will hardly be
the lingo line execution overhead leaves no room for sub or
nanosecond optimization considerations.
<firstname.lastname@example.org> wrote in message
> Hi, anyone an idea?
> is it faster to use global variables or
(sprite)properties or Object
> In other words is it smart to use as less globals as
possible or not (in
> of speed)? Or does it not make a diffrence.