This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: setup w/char* eliminated is big
- From: Pavel Tsekov <ptsekov at syntrex dot com>
- To: Robert Collins <robert dot collins at itdomain dot com dot au>
- Cc: cygwin-apps at sources dot redhat dot com
- Date: Fri, 15 Feb 2002 17:05:24 +0100
- Subject: Re: setup w/char* eliminated is big
- References: <011401c1b53b$01de5350$0200a8c0@lifelesswks>
Robert Collins wrote:
> Ok,
> finally got some breathing time.
>
> Setup with char * eliminated is ~350K. Ouch.
>
> This is why I've not committed my patch yet (I've been trying to see
> *where* the extra 100K appeared from).
You have four 'inline' - I know they're small in size, but three of them
are the most commonly used methods (the default and the copy constructor
and also the 'operator ='). Remove the 'inline' modifier and see if the
executable gets smaller.