• 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: Validating unique objects in CoreData
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Validating unique objects in CoreData (From: malcom <email@hidden>)
 >Re: Validating unique objects in CoreData (From: Roland King <email@hidden>)
 >Re: Validating unique objects in CoreData (From: "Sean McBride" <email@hidden>)
 >Re: Validating unique objects in CoreData (From: malcom <email@hidden>)

  • Prev by Date: Noon question about Bonjour
  • Next by Date: Re: Cocoa-based GPS framework?
  • Previous by thread: Re: Validating unique objects in CoreData
  • Next by thread: Re: Validating unique objects in CoreData
  • Index(es):
    • Date
    • Thread