Article View: comp.graphics.explorer
Article #172Re: Shared Libraries or not, these modules are too big!
From: Robert Skinner
Date: Sat, 12 Dec 1992 01:22
Date: Sat, 12 Dec 1992 01:22
29 lines
1738 bytes
1738 bytes
In article <1992Dec11.140637.22810@erenj.com>, srfergu@rufus.erenj.com writes: > Well, shared libraries or not, I think there's too much fat in my modules. > I've got a module that does very simple Lyon-Lamb MiniVas recording. > I call it MiniVas. Here's the breakdown of the object files that go into it: > > -rw-r--r-- 1 srfergu user 24332 Dec 11 08:42 MiniVas.mdw.o > -rw-r--r-- 1 srfergu user 1356 Dec 11 08:54 MiniVas.o > -rw-r--r-- 1 root sys 19106 Dec 11 08:55 /usr/lib/libvas.a > -rwxr-xr-x 1 srfergu user 2054768 Dec 11 08:55 MiniVas > > The run unit is nearly ten times the size of the object codes. > > I only make one or two calls to things like cxInWdgtLongSet. > > Obviously something other than my code is expanding this module. And it does > the same to every module in the distribution. Since the same size factor goes > into nearly every module, I'm willing to bet there's some library being > duplicated in every module that could be shared. > I'm also concerned about the size of modules. If you'll put an unstripped version of MiniVas on sgi.com:~ftp/pub, I'll take a look at where the space is used. thanks, Robert Skinner There is intelligent life on Earth, but I'm just visiting.
Technical Details
Message-ID:
<1gberrINNgbu@fido.asd.sgi.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!ames!sgi!fido!texas!robertReferences:
<1992Dec11.140637.22810@erenj.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!ames!sgi!fido!texas!robert From: robert@texas.asd.sgi.com (Robert Skinner) Newsgroups: comp.graphics.explorer Subject: Re: Shared Libraries or not, these modules are too big! Date: 12 Dec 1992 01:22:03 GMT Organization: Silicon Graphics, Inc. Mountain View, CA Lines: 29 Message-ID: <1gberrINNgbu@fido.asd.sgi.com> References: <1992Dec11.140637.22810@erenj.com> NNTP-Posting-Host: texas.asd.sgi.com