[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Custom extensions to Lua
- From: Glenn Maynard <glenn@...>
- Date: Wed, 10 Aug 2005 20:06:10 -0400
On Thu, Aug 11, 2005 at 12:31:45AM +0100, David Given wrote:
> On Thursday 11 August 2005 00:17, Glenn Maynard wrote:
> [...]
> > Turning off exceptions cut a 7 meg program down to 5 megs with g++, and a
> > 4 meg program down to ~3.5 with VC.
>
> Which gcc, may I ask? Spey is about 4000 loc, and produces a 120kB binary,
> which I consider quite reasonable.
I think it was 3.3, on about 200k lines. That's comparable, line for line.
I wish g++ had a "-ffake-exceptions" option (abort() when an exception is
thrown, ignore exception handlers), so I could ask "how big is yours without
exceptions?", but as is I don't know of any easy way to find out.
--
Glenn Maynard