help-gplusplus
[Top][All Lists]
Advanced

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

Re: Poor exception handling performance


From: Paul Pluzhnikov
Subject: Re: Poor exception handling performance
Date: Fri, 26 Oct 2007 21:54:35 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux)

Mears <joshuadavidson@gmail.com> writes:

> I spent some time profiling exception performance on Solaris 10 with
> Sun's CC and two different versions of g++.

Whatever for?

Any program where exception handling takes significant portion of
total execution time is brain-damaged and needs to be rewritten.

Exceptional conditions should be *very* rare by definition.

> I was extremely surprised to see g++ nearly 10 times slower

Why do you care how slow they are?

Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]