This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Quality of GCC 3.1
Andrew Haley wrote:
Jan Hubicka writes:
> > a) What is the reason of such big decrease in performance especially if
> > exceptions and/or streams are used?
>
> The exceptions got slower, because the tables are more compact. Is
> exception delivery performance really problem for C++ programs?
If exceptions are very much slower it's bad news for Java. On the
other hand, our binaries are a good deal bigger than we'd like them to
be...
For most Java applications, I don't think it matters a great deal about
the speed of throwing/delivering exceptions. Its generally regarded as
bad practice to rely on throws as part of the normal execution of a
program, so given the choice between slower exception delivery and
significantly smaller binaries, I'd go for the small binaries.
regards
Bryce.