• 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: Core Data Performance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data Performance


  • Subject: Re: Core Data Performance
  • From: "I. Savant" <email@hidden>
  • Date: Tue, 19 Feb 2008 20:00:34 -0500

"Executing a fetch request requires a round trip to the persistent store.... you can avoid the overhead of executing the fetch request by searching the managed object context..."

Something like that, to be honest I can't find it any where in the documentation and I only posted because I started to think I might have been imagining things.

I'm having trouble understanding what you're asking too, but ... are you perhaps referring to in-memory array filtering (with predicates)? See NSArray's -filteredArrayUsingPredicate:


If you already have a fetched set of managed objects (assuming you understand all the implications regarding faulting), you can filter them in memory using this method.

--
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


References: 
 >Core Data Performance (From: Philip Bridson <email@hidden>)
 >Re: Core Data Performance (From: Mike Abdullah <email@hidden>)
 >Re: Core Data Performance (From: Philip Bridson <email@hidden>)

  • Prev by Date: Re: How to detect focus on an NSTextField
  • Next by Date: Re: A window that rejects focus
  • Previous by thread: Re: Core Data Performance
  • Next by thread: Core Data help needed (relationship programmatically)
  • Index(es):
    • Date
    • Thread