• 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: [CD] programmatically inserting MO in MOC gets slower with number of items II
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: [CD] programmatically inserting MO in MOC gets slower with number of items II
      • From: "Jordan Krushen" <email@hidden>
References: 
 >[CD] programmatically inserting MO in MOC gets slower with number of items (From: Volker Runkel <email@hidden>)

  • Prev by Date: Re: pid vs. Process Serial Number
  • Next by Date: CFZombieLevel
  • Previous by thread: [CD] programmatically inserting MO in MOC gets slower with number of items
  • Next by thread: Re: [CD] programmatically inserting MO in MOC gets slower with number of items II
  • Index(es):
    • Date
    • Thread