Re: CoreData model optimization? (slow on insert with fetches)
Re: CoreData model optimization? (slow on insert with fetches)
- Subject: Re: CoreData model optimization? (slow on insert with fetches)
- From: "I. Savant" <email@hidden>
- Date: Tue, 2 Oct 2007 11:28:44 -0400
> Why?
Missing information: What specifically is slow? What are you
fetching that is slow? How ***EXACTLY*** are you fetching it? Are you
sure you're not doing something to cause it to be fetched multiple
times? These details directly affect performance and you've left them
all out for some reason.
Suggestions: Read back over the Core Data Programming Guide and the
Key-Value Coding Programming Guide. The former so you can better
understand how things work and the latter so you can name things a
little better (your attribute names are bizarre).
Regarding overall design of your model, Mail deals with "Message".
A message may belong to a thread (and may be sorted by thread) but a
message is still a message. I would think separating out "Subject" as
a separate entity would only cost you more work, not less.
How about you describe the *basic*, plain-English model you're
dealing with (rather than the "optimized" version you posted)? It'd
make it easier to make suggestions.
--
I.S.
_______________________________________________
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