This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Why is dynamic_cast so dam slow?


Kevin Atkinson wrote:
> [stuff about dynamic_cast]
I see Martin has answered these.

> This was compiled with gcc 2.95.1 with "-O2 -g -pg".  If this is due to
> a KNOWN bug that got you KNOW was fixed in gcc 2.95.2 let me know and I
> will upgrade and try again.
The current CVS tree has a different implementation of dynamic cast which
a) fixes bugs
b) should be faster in common cases

Would you like to try your benchmarks on the CVS compiler?

nathan
-- 
Dr Nathan Sidwell :: Computer Science Department :: Bristol University
Never hand someone a gun unless you are sure where they will point it
nathan@acm.org  http://www.cs.bris.ac.uk/~nathan/  nathan@cs.bris.ac.uk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]