Re: [noob] Best practice for creating multiple instances of a View
Re: [noob] Best practice for creating multiple instances of a View
- Subject: Re: [noob] Best practice for creating multiple instances of a View
- From: "I. Savant" <email@hidden>
- Date: Fri, 20 Mar 2009 15:30:28 -0400
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.
--
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