Re: [OT?] Nib files balloon app size
Re: [OT?] Nib files balloon app size
- Subject: Re: [OT?] Nib files balloon app size
- From: Ryan McGann <email@hidden>
- Date: Fri, 11 Apr 2003 19:30:12 -0700
On Friday, April 11, 2003, at 05:15 PM,
email@hidden wrote:
So I have 2 questions:
1. Is it reasonable for me to choose small app size over optimized
resource loading?
2. Why do more Nibs mean larger app size, when they have the same
number of windows/panels between them?
Always remember one of the golden rules of computer science is a
space-time tradeoff. You can have an application that consumes fewer
space but uses more time. The reverse is also true. Also remember that
if you have a nib with lots of windows, all those objects loaded take
up memory, which in turn consumes CPU cycles to page in & out, which in
turn takes up swap space (disk space). So you're back to where you
started.
Personally my rule is: disk space is cheap, CPU cycles are not. Users
will notice a large application once, during install, if at all.
They'll notice an application that's slow to launch cuz it has 12
windows in its main nib file every time they launch the application.
Ryan McGann
Macintosh Internet Security
Symantec Corporation
email@hidden
Office: email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.