Re: NSOperation Efficiency
Re: NSOperation Efficiency
- Subject: Re: NSOperation Efficiency
- From: Jens Alfke <email@hidden>
- Date: Tue, 04 Dec 2012 20:00:59 -0800
On Dec 4, 2012, at 7:33 PM, Kyle Sluder <email@hidden> wrote:
> Yeah, it sounds like you're saturating the thread pool due to
> non-CPU-bound operations. NSOpQ is going to spend its entire time
> spawning and switching to threads while you append more and more
> operations to the queue.
Apologies, but I have trouble believing that. Isn’t NSOperationQueue just a thin veneer around GCD? A few thousand tasks shouldn’t cause a performance problem. What’s your evidence that it does?
—Jens
_______________________________________________
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