delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/24/22:34:40

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Tue, 24 Sep 2002 22:34:31 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Hans Horn <hannes AT 2horns DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: limit for # of items created with "new" ?
In-Reply-To: <amr1j5$b3$1@main.gmane.org>
Message-ID: <Pine.GSO.4.44.0209242231120.11713-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Tue, 24 Sep 2002, Hans Horn wrote:

> Igor,
>
> "Igor Pechtchanski" <pechtcha AT cs DOT nyu DOT edu> wrote in message news:Pine DOT GSO DOT 4 DOT 44 DOT 0209241841560 DOT 7805-100000 AT slinky DOT cs DOT nyu DOT edu...
> >
> > Don't forget the object headers - depending on which options you use, they
> > can be 8 bytes per object.
> > [snip]
>
> Are there options that cost less (in terms of object headers) that the
> defaults?
> [snip]

Oh, yeah, almost forgot:

`-fno-rtti'
     Disable generation of the information used by C++ runtime type
     identification features (`dynamic_cast' and `typeid').  If you
     don't use those parts of the language (or exception handling,
     which uses `dynamic_cast' internally), you can save some space by
     using this flag.

This is one that comes to mind, there should be others, too.
Try 'info gcc'.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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