Quality of GCC 3.1
Bryce McKinlay
bryce@waitaki.otago.ac.nz
Tue Jun 18 20:06:00 GMT 2002
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.
More information about the Java
mailing list