Re: Slowing Down
Re: Slowing Down
- Subject: Re: Slowing Down
- From: Luther Fuller <email@hidden>
- Date: Fri, 28 Aug 2009 09:51:42 -0500
First thing this morning, I ran another series of tests. Here's the
result ...
1.8, 1.7, 1.7, 1.8, 1.6, 1.6, 1.5, 1.3, Relaunch Finder, 1.9, 1.9
The problem is still there. Then I realized that I had (carelessly)
written my main code in the run handler. There are many variables and
putting them in the run handler means that all of them are global. (Bad)
I moved my main code into a handler named 'main' and used this new run
handler ...
on run
my main()
end run
Now, all variables are local instead of global. I ran a second series
of tests ...
1.7, 1.7, 1.7, Relaunch Finder, 1.8, 2.0, 1.9, 1.8, 1.6, 1.8, 1.7
This seems to be an improvement, but I don't think it's conclusive.
When the numb wears off, I'll run another series of mind-numbing tests
and report the results.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
References: | |
| >Slowing Down (From: Luther Fuller <email@hidden>) |