Re: dispatch_apply strange results
Re: dispatch_apply strange results
- Subject: Re: dispatch_apply strange results
- From: Kyle Sluder <email@hidden>
- Date: Sat, 08 Feb 2014 23:57:52 -0800
On Sat, Feb 8, 2014, at 11:35 PM, Gerriet M. Denkmann wrote:
> But using two threads takes much longer than just using one!
> How could this happen?
Because now you've got two CPUs fighting over one cache line?
Optimization is hard. "Throw more threads at it" is not a panacea.
--Kyle Sluder
_______________________________________________
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