Mail Archives: djgpp/2001/10/17/10:33:45
On Wed, 17 Oct 2001, salvador wrote:
> I agree with you DJ, but it looks like regular switchs (-O2 for example)
> have a bad impact on old CPU models when using gcc 3.x.
> I didn't run my battery of benchmarks yet so I can give a detailed
> conclusion, but the new C++ library and code generation rules made my editor
> 20% bigger (we are talking about more than 200 Kb of increase) and 11%
> slower.
It is very dangerous to compare C++ code compiled by GCC 3.x and any
older version. GCC 3.x now supports much more of the C++ standard than
older versions did; since Standard C++ is a *monstrously* large and
complex language, it should come as no surprise that full support for it
comes at a price.
A much better comparison would be with a C program, not a C++ program.
- Raw text -