[Bug c++/58437] Sorting value in reverse order is much slower compare to gcc44
glisse at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Sep 16 21:00:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58437
--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> ---
I can't reproduce this. I tried compiling with -O3 (with 4.4, 4.7 and 4.8)
after commenting out either of the 2 sort lines, and I see roughly the same
execution times (maybe a few % difference, but nowhere near the factor 6 you
mention, which seems quite suspicious to me).
You need to at least describe your platform more in details...
More information about the Gcc-bugs
mailing list