• 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: Two simple questions regarding Core-Data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Two simple questions regarding Core-Data


  • Subject: Re: Two simple questions regarding Core-Data
  • From: Robert Walker <email@hidden>
  • Date: Fri, 4 May 2007 12:59:16 -0400

Marcus,

Again no.  Fortunately when the array is retrieved all of the objects
are "faults" which means they are not loaded into memory yet and your
call to count will not cause them to load.  Therefore the memory and
performance hits are negligible.

Are you sure that asking for the count would not cause the fault representing a collection to fire? If so that's really impressive. How would Core Data know the number of objects represented by the fault without realizing the fault first?


--
Robert Walker
email@hidden



_______________________________________________

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: Two simple questions regarding Core-Data
      • From: "Marcus S. Zarra" <email@hidden>
References: 
 >Two simple questions regarding Core-Data (From: "Hell's KItchen Hell's KItchen" <email@hidden>)
 >Re: Two simple questions regarding Core-Data (From: "Marcus S. Zarra" <email@hidden>)

  • Prev by Date: Re: NSURLRequest or alternative & structuring data for use with NSBrowser? (Total Noob questions...)
  • Next by Date: Re: Two simple questions regarding Core-Data
  • Previous by thread: Re: Two simple questions regarding Core-Data
  • Next by thread: Re: Two simple questions regarding Core-Data
  • Index(es):
    • Date
    • Thread