On 26/08/2011, at 10:48 AM, Rick Mann wrote: > Hmm. I think I disagree on this point. Two timers makes it very clear what's > going on in the code, and I don't have to worry about the math. Moreover, I > don't enable a rapid timer until it's actually needed.
0.1 second (or so) is definitely not "rapid". Math? It's one comparison. An alternative is to set the timer period to the initial delay and then change its rate when the callback is first called. Anyway, it's your code, do as you like - I just dislike cascading timers like that, it seems inelegant. Maybe it's my hardware background - an equivalent approach in hardware would always look like a kludge (and be costly - every chip saved is well, a chip saved). --Graham _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com