• 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: Cleaning "garbage" in Core Data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cleaning "garbage" in Core Data


  • Subject: Re: Cleaning "garbage" in Core Data
  • From: Jerry Krinock <email@hidden>
  • Date: Sun, 16 Aug 2009 21:10:01 -0700

To Squ:

I read through all your posts today and, although several people have asked you, I still don't see where you've confirmed that this garbage/ cleanup is indeed a performance issue. My recommendation remains that you confirm this first, especially now that multithreading Core Data has been put on the table as a "solution"...

On 2009 Aug 16, at 20:22, BJ Homer wrote:

you may be able to simply put
the cleanup logic into a background thread and fire it off immediately.

BJ, I would omit the word "simply"

I'm not a Core Data expert (yet), but you will need to give the background
thread a separate NSManagedObjectContext...


That's how I'd do it, anyway.

Well, not me. One last time, Squ: I'd step back and confirm that I really need to do this. I find both of your assertions (1) that leaving the garbage around for awhile is a performance hit and (2) that cleaning it up in the main thread immediately is a performance hit -- to be surprising.


_______________________________________________

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: 
 >Cleaning "garbage" in Core Data (From: Squ Aire <email@hidden>)
 >Re: Cleaning "garbage" in Core Data (From: "I. Savant" <email@hidden>)
 >RE: Cleaning "garbage" in Core Data (From: Squ Aire <email@hidden>)
 >Re: Cleaning "garbage" in Core Data (From: Sherm Pendley <email@hidden>)
 >RE: Cleaning "garbage" in Core Data (From: Squ Aire <email@hidden>)
 >Re: Cleaning "garbage" in Core Data (From: Graham Cox <email@hidden>)
 >RE: Cleaning "garbage" in Core Data (From: Squ Aire <email@hidden>)
 >Re: Cleaning "garbage" in Core Data (From: BJ Homer <email@hidden>)

  • Prev by Date: Re: NSProgressIndicator not animating when part of NSAnimation
  • Next by Date: Re: iPhone: detect if docked?
  • Previous by thread: Re: Cleaning "garbage" in Core Data
  • Next by thread: Re: Cleaning "garbage" in Core Data
  • Index(es):
    • Date
    • Thread