zzfreddybb (fred.bartholomai@acsatl.com) wrote:
: HP aC++ exception handling has no significant performance impact at
: compile-time or run-time.
: We have not found this to be the case at all.
As Peter says, this means you have no "significant performance impact", if
you don't use throw.
: Any comments, suggestions, ideas would be much appreciated.
: Fred B.
A future version (around May 2005 or so) of the unwind library
(Unwind Express) will be 10 X faster in trivial cases.
Also, are you using threads?
From: "Peter Koch Larsen" <pkspaml@mailme.dk>
In that case your program is likely to pay for that. Exceptions should be
the exceptional, and if you do use them for other purposes, it is not unfair
that you pay for the performance hit.
Apart from that, you should post to a newsgroup dedicated to your compiler.
That would be the CXX-DEV mailing list. See:
http://h21007.www2.hp.com/dspp/comm/comm_Community_Home_IDX/1,1273,,00.html
.
|