Re: Sine of the times: Much better window shaker
Re: Sine of the times: Much better window shaker
- Subject: Re: Sine of the times: Much better window shaker
- From: Emmanuel <email@hidden>
- Date: Sat, 22 Mar 2003 23:42:36 +0100
At 8:39 PM +0000 22/03/03, has wrote:
Nigel Garvey wrote:
Lovely. :-) On my slower machine, the performances of this and Paul's
circle are less laboured if the Satimage calculations are taken out of
the "Finder" tell block. This is also true on the faster machine, but the
difference is not so noticeable.
Don't forget Paul's original optimisation: unless the on-the-fly
math is absolutely necessary, a list of precalculated values is the
way to go for both performance and portability. Simple, and smart.
If on-the-fly calculation, performance and portability are all
essential, another option may be to replace the most intensive
calculations with simple lookup tables; low precision not being a
problem.
Hopefully someone will come with the pre-calculated lists. Not me,
though, since I don't have any speed issue. That's because I run the
script in Smile. I don't have a faster machine than Nigel, I think,
and the effect here is really a lovely spring-like behavior. Except
when it comes to calling scripting additions, AppleScript is
incredibly fast.
Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.