Why is dynamic_cast so dam slow?
Nathan Sidwell
nathan@acm.org
Fri Dec 31 23:54:00 GMT 1999
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
More information about the Gcc
mailing list