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

On Fri, Mar 20, 2009 at 2:53 PM, Stuart Malin <stu...@zhameesha.com> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to