Re: Cocoa-dev Digest, Vol 8, Issue 783
Re: Cocoa-dev Digest, Vol 8, Issue 783
- Subject: Re: Cocoa-dev Digest, Vol 8, Issue 783
- From: Graham Cox <email@hidden>
- Date: Fri, 30 Sep 2011 11:35:23 +1000
On 30/09/2011, at 11:25 AM, Gordon Apple wrote:
> Much easier than trying to manage timers.
I disagree. Timers are not rocket science, and they are optimised (one assumes) not to consume more CPU time than they truly need. Your idea is more complicated and is polling, meaning that you are consuming more power and resources than necessary. Do you wake up every minute during the night to check whether it's time to get up? No, so you shouldn't program a computer the same way.
--Graham
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden