• 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 08:43:48 -0800

On 2010 Feb 12, at 03:45, malcom wrote:

> Any idea to improve performance of this check?

Well, 30,000 uuid is only a megabyte or so.  I really hate to say this, but, just as a wild and crazy experiment, fetch the uuids from those 30,000 into a giant NSSet, and determine uniqueness by seeing if -member:aUUID returns non-nil.  Compare performance with your Core Data validation and let us know the results.

_______________________________________________

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>)

  • Prev by Date: Re: Guidance on use of Application Support folder
  • Next by Date: Cocoa-based GPS framework?
  • Previous by thread: Re: Validating unique objects in CoreData
  • Next by thread: iPhone: MPMediaPlayerContoller questions (2)
  • Index(es):
    • Date
    • Thread