This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/58437] Sorting value in reverse order is much slower compare to gcc44
- From: "glisse at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 16 Sep 2013 21:00:53 +0000
- Subject: [Bug c++/58437] Sorting value in reverse order is much slower compare to gcc44
- Auto-submitted: auto-generated
- References: <bug-58437-4 at http dot gcc dot gnu dot org/bugzilla/>
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...