• 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: CoreData, reset a persistent store
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoreData, reset a persistent store


  • Subject: Re: CoreData, reset a persistent store
  • From: "I. Savant" <email@hidden>
  • Date: Tue, 14 Nov 2006 11:46:53 -0500

On Nov 14, 2006, at 11:09 AM, Elise van Looij wrote:
No, at runtime I don't think that would be a good idea. You might want to take a look at Apple's NSPersistentStoreCoordinator Class Reference. But as far as the cache growing to gigantic proportions, I don't think you need to worry about that. If I understand the section on Uniquing and Faulting in the Core Data Programming Guide

Actually, that depends on the store type. If you're using, say, NSSQLiteStoreType, you probably don't really need to worry about performance that much.


Pierre, have you actually tried just fetching and removing the objects, testing the performance? Remember what they say about premature optimization ...

--
I.S.



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: CoreData, reset a persistent store
      • From: Pierre Chatelier <email@hidden>
References: 
 >CoreData, reset a persistent store (From: Pierre Chatelier <email@hidden>)
 >Re: CoreData, reset a persistent store (From: Elise van Looij <email@hidden>)
 >Re: CoreData, reset a persistent store (From: Pierre Chatelier <email@hidden>)
 >Re: CoreData, reset a persistent store (From: Elise van Looij <email@hidden>)

  • Prev by Date: NSImage and PNG problems
  • Next by Date: Re: CFRunLookFindMode crash
  • Previous by thread: Re: CoreData, reset a persistent store
  • Next by thread: Re: CoreData, reset a persistent store
  • Index(es):
    • Date
    • Thread