Re: [CD] programmatically inserting MO in MOC gets slower with number of items II
Re: [CD] programmatically inserting MO in MOC gets slower with number of items II
- Subject: Re: [CD] programmatically inserting MO in MOC gets slower with number of items II
- From: Volker Runkel <email@hidden>
- Date: Thu, 21 Sep 2006 15:30:05 +0200
Hi again,
I discovered the reason for the slow down: For each newly inserted
MO I set the value for a relationship (a "parent" MO that has one-to-
many relation to my inserted MOs). Without the call setValue:forKey
to connect my newly inserted MO with its "parent" the insertion is
rather fast.
Still this does not solve my problem though, since I need to
establish that relationship. Is there a faster possibility to create
a relationship or can I make it faster ? Or do I have to live with
the fact that the nth object is inserted in the object tree x times
slower then the first ?
Volker
_______________________________________________
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