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: Kyle Sluder <email@hidden>
- Date: Fri, 20 Mar 2009 15:08:03 -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.
The fact that you have no data to suggest this will cause slowdown, or
even happen, is what makes it a non-issue. It's a classic case of
premature optimization: you don't have any obviously more efficient or
more correct ways of solving the same problem, and you have no data to
suggest you need to search for a non-obvious implementation, so you do
not yet need to optimize. Only when one of these two things is true
should you consider a different implementation.
--Kyle Sluder
_______________________________________________
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