Re: Leaks with Core-Data while fetching data
Re: Leaks with Core-Data while fetching data
- Subject: Re: Leaks with Core-Data while fetching data
- From: mmalc crawford <email@hidden>
- Date: Mon, 7 May 2007 11:58:41 -0700
On May 7, 2007, at 11:33 AM, Chris Hanson wrote:
PS - Also, please consider applying our other performance
recommendations, particularly about not performing a fetch for every
single article downloaded at the time it's downloaded. You're
intermixing a whole lot of work that way, work that can probably be
effectively batched.
... as described in <http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/Articles/cdPerformance.html
>...
Re:
> b) the write process to persistent store-sql- could take a while (I
> haven't tried with 3000+ indexes but I've read that the coredata
> engine it's not so fast).
>
note in particular the Introduction to the Performance article.
As a general point, from <http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/Articles/cdBeforeYouStart.html
>:
"Core Data is not an entry-level technology. It leverages many other
Cocoa technologies, including memory management, key-value coding, and
key-value observing. You must understand these technologies to use
Core Data effectively."
If you haven't understood the basics of memory management, it would be
worth spending time getting that right before using Core Data...
mmalc
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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