Well it appears that the original code runs much faster on gcc-4.0.3
and gcc-3.4.4 than on our compilation of gcc-4.1.0.  In fact the stl
array access is slightly faster than the pointer array access.

Very suprising.  Thanks for everyone's response.



Paul Pluzhnikov wrote:
> Paul Pluzhnikov <[EMAIL PROTECTED]> writes:
>
> > g++ (GCC) 4.1.0 20060304 (Red Hat 4.1.0-3) from FC5 produces
> > bit-for-bit *identical* binary for both cases under -O2 and -O3
>
> That's gcc built for x86_64-redhat-linux
> --
> In order to understand recursion you must first understand recursion.
> Remove /-nsp/ for email.

_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to