• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Lots of NSTimers?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lots of NSTimers?


  • Subject: Re: Lots of NSTimers?
  • From: The Karl Adam <email@hidden>
  • Date: Fri, 20 May 2005 18:58:36 -0400

It would help if you told us what your trying to do instead of how your trying to do it.

-Karl

On 5/20/05, Karl Goiser <email@hidden> wrote:
G'Day,

I have a requirement which involves (potentially) hundreds of
independent NSTimer-style one-shot events.

Could anybody advise as to whether it would be better to use
(hundreds of) NSTimers, or build a lightweight version with a time-
sorted queue and one NSTimer for the next event?

(I guess this has to do with the internal implementation of NSTimer -
are they all checked every time through the event loop, or is a
callout queue used?)


Thanks in advance!!


Karl

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (

This email sent to email@hidden

 _______________________________________________
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

  • Follow-Ups:
    • Re: Lots of NSTimers?
      • From: Greg Titus <email@hidden>
    • Re: Lots of NSTimers?
      • From: Karl Goiser <email@hidden>
References: 
 >Lots of NSTimers? (From: Karl Goiser <email@hidden>)

  • Prev by Date: Lots of NSTimers?
  • Next by Date: Re: Core Data, Document based app, and a structure
  • Previous by thread: Lots of NSTimers?
  • Next by thread: Re: Lots of NSTimers?
  • Index(es):
    • Date
    • Thread