This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Why is dynamic_cast so dam slow?
- To: Kevin Atkinson <kevinatk at home dot com>
- Subject: Re: Why is dynamic_cast so dam slow?
- From: Nathan Sidwell <nathan at acm dot org>
- Date: Tue, 28 Dec 1999 11:20:33 +0000
- CC: gcc at gcc dot gnu dot org
- References: <386685AA.ACAAB7F0@home.com>
- Reply-To: nathan at compsci dot bristol dot ac dot uk
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