• 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: Cocoa bindings performance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa bindings performance


  • Subject: Re: Cocoa bindings performance
  • From: mmalcolm crawford <email@hidden>
  • Date: Fri, 7 Apr 2006 23:08:20 -0700


On Apr 7, 2006, at 12:07 PM, Niels Meersschaert wrote:


On Apr 7, 2006, at 12:07 PM, Niels Meersschaert wrote:
I got the entity from the context, fetching all objects & then got the sum of the field looping thru all of the entities in the returned array. When I do this, the file loads immediately & the bindings show the correct data for each @sum field. Why the dramatic difference in performance?

<http://developer.apple.com/documentation/Cocoa/Conceptual/ CoreData/Articles/cdPerformance.html#//apple_ref/doc/uid/ TP40003468-SW3>

That's a good resource that I've looked at, but my question is why is there a difference in performance accomplishing the same lookup.

The article answers that question. The lookup is not the same. Try "Analyzing Fetch Behavior with SQLite" (previous section the article).

mmalc

_______________________________________________
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: Cocoa bindings performance
      • From: Niels Meersschaert <email@hidden>
References: 
 >Cocoa bindings performance (From: Niels Meersschaert <email@hidden>)
 >Re: Cocoa bindings performance (From: mmalcolm crawford <email@hidden>)
 >Re: Cocoa bindings performance (From: Niels Meersschaert <email@hidden>)

  • Prev by Date: Re: Licences & trial concepts
  • Next by Date: Focus problem while launching app from the widget
  • Previous by thread: Re: Cocoa bindings performance
  • Next by thread: Re: Cocoa bindings performance
  • Index(es):
    • Date
    • Thread