• 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: [noob] Best practice for creating multiple instances of a View
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [noob] Best practice for creating multiple instances of a View


  • Subject: Re: [noob] Best practice for creating multiple instances of a View
  • From: Stuart Malin <email@hidden>
  • Date: Fri, 20 Mar 2009 09:38:21 -1000


On Mar 20, 2009, at 9:30 AM, I. Savant wrote:

On Fri, Mar 20, 2009 at 2:53 PM, Stuart Malin <email@hidden> wrote:

Thanks for the quick reply and the assurance. No performance issues -- just
had been wondering about the effect of going back to disk every time I need
one of these views (which will be frequent and there will be many). Perhaps
the fact of disk caching makes this a non issue.

As Kyle stated and I implied - premature optimization. :-) Measure first, then optimize.

 As I recall (and I don't know if I recall correctly), I thought I
heard that nib loading is pretty good about caching things, so I'd be
surprised to see it hitting the disk each time, but it's not
impossible, so ... measure then optimize.

Appreciate the comments regarding premature optimization. I wasn't trying to optimize -- I had just been looking to validate that I was going about handling the situation the smartest way. Although nothing had appeared to me as "more obvious or more efficient" (referencing Kyle) -- it isn't always clear to us noobs when a non-obvious approach is available (and better). Thanks again for the comments -- I will be sure to remain with the proven approach I am pursuing :-)


_______________________________________________

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


  • Follow-Ups:
    • Re: [noob] Best practice for creating multiple instances of a View
      • From: Kyle Sluder <email@hidden>
References: 
 >[noob] Best practice for creating multiple instances of a View (From: Stuart Malin <email@hidden>)
 >Re: [noob] Best practice for creating multiple instances of a View (From: "I. Savant" <email@hidden>)
 >Re: [noob] Best practice for creating multiple instances of a View (From: Stuart Malin <email@hidden>)
 >Re: [noob] Best practice for creating multiple instances of a View (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: [noob] Best practice for creating multiple instances of a View
  • Next by Date: Re: [noob] Best practice for creating multiple instances of a View
  • Previous by thread: Re: [noob] Best practice for creating multiple instances of a View
  • Next by thread: Re: [noob] Best practice for creating multiple instances of a View
  • Index(es):
    • Date
    • Thread