Re: Validating unique objects in CoreData
Re: Validating unique objects in CoreData
- Subject: Re: Validating unique objects in CoreData
- From: Jerry Krinock <email@hidden>
- Date: Fri, 12 Feb 2010 11:42:55 -0800
On 2010 Feb 12, at 10:06, malcom wrote:
> A first solution is ... 60k+ queries takes ... a minute or more.
>
> My second solution is to create a second auxiliary NSMutableDictionary ... the entire process takes about 5 seconds to finish
So you confirmed what I what I was loathe to say, which is that filtering in memory is much faster than doing Core Data queries.
Is 5 seconds fast enough? I'd be pretty happy with that, for searching 30K items.
_______________________________________________
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