• 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
setKeys + array operators = slowdown
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

setKeys + array operators = slowdown


  • Subject: setKeys + array operators = slowdown
  • From: email@hidden
  • Date: Mon, 15 Jan 2007 15:28:56 -0800

My Core Data project has about 300 records of data. The setKeys method
+ (void)setKeys:(NSArray *)keys triggerChangeNotificationsForDependentKey:(NSString *)dependentKey
is used for approximately 10 dependent keys. A separate window uses array operators on the data. However, this combination seems to cause a massive slowdown on performance of the data calculated and displayed by the array operators. If I comment out the setKeys methods, the array operators calculate instantly. My question: is there a way to temporarily disable the setKeys method when the array operators first calculate on the 300 records? Or is there a better way to do this? Or am I missing something?
Thanks!
-Bill


_______________________________________________

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


  • Follow-Ups:
    • Re: setKeys + array operators = slowdown
      • From: Chris Hanson <email@hidden>
    • Re: setKeys + array operators = slowdown
      • From: Scott Stevenson <email@hidden>
  • Prev by Date: Re: howto draw math forumulas
  • Next by Date: Re: howto draw math forumulas
  • Previous by thread: Syntax for int Array in Message (was: Objective-C Forum)
  • Next by thread: Re: setKeys + array operators = slowdown
  • Index(es):
    • Date
    • Thread