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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to