Re: NSOperation Efficiency
Re: NSOperation Efficiency
- Subject: Re: NSOperation Efficiency
- From: Mike Abdullah <email@hidden>
- Date: Wed, 05 Dec 2012 10:05:21 +0000
On 5 Dec 2012, at 04:41, Kyle Sluder <email@hidden> wrote:
> NSOperationQueue uses KVO for dependency tracking and queue width
> management. In 10.7, the implementation was apparently changed to thunk
> all KVO ops onto the main thread; I'm guessing this fixed a bug by
> serializing all state changes. It also slowed down enqueueing
> operations onto our NSOperationQueue from a background thread by a
> factor of ten or more. I have samples to prove it.
Wow, that's a big change! Are there are docs to back it up, or is this purely empirical?
_______________________________________________
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