Re: Lots of NSTimers?
Re: Lots of NSTimers?
- Subject: Re: Lots of NSTimers?
- From: Karl Goiser <email@hidden>
- Date: Sun, 5 Feb 2006 11:51:44 +1100
Hello,
Last May (!!), I asked a question about a design choice: whether to
use potentially hundreds of NSTimers, or to use a self-implemented
queue driven by a single NSTimer. I said I'd get back to the list
with my resolution, this message (better late than never!!).
There was some debate at the time about weighing up duplicating
Apple's own code (debugged, tested and verified) versus potential
inefficiencies of using NSTimers (and bugs in writing your own code).
I was thinking about this recently and recalled that there was some
discussion that NSTimers had to be adjusted when the machine awoke
from sleep. Given this, a queue with a single timer appears to be
the best solution...
Thanks everybody for a great list!
Karl
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden