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