oopack performance

Joe Buck jbuck@synopsys.com
Tue May 6 16:36:00 GMT 2003


On Tue, May 06, 2003 at 06:28:54AM -0700, Dan Nicolaescu wrote:
> Mainline GCC performs well for the 3 of the 4 oopack benchmarks. 
> The only exception is "Complex". 
> ...

> The performance can be improved dramatically by just adding a
> constructor to the "Complex" class:
> 
> Complex (const Complex &F) : re(F.re), im(F.im) {}

This is very odd, because that's pretty much the same as the
default compiler-generated constructor.  Anyone have any idea
why there's so much difference?
 



More information about the Gcc mailing list