lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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