delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2002/02/15/11:05:45

Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
Message-ID: <3C6D31C4.2010800@syntrex.com>
Date: Fri, 15 Feb 2002 17:05:24 +0100
From: Pavel Tsekov <ptsekov AT syntrex DOT com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20011126 Netscape6/6.2.1
X-Accept-Language: en-us
MIME-Version: 1.0
To: Robert Collins <robert DOT collins AT itdomain DOT com DOT au>
CC: cygwin-apps AT sources DOT redhat DOT com
Subject: Re: setup w/char* eliminated is big
References: <011401c1b53b$01de5350$0200a8c0 AT 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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019