[Bug libstdc++/51078] [PATCH] performance improvement of std::count algorithm
paolo.carlini at oracle dot com
gcc-bugzilla@gcc.gnu.org
Fri Nov 11 23:36:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51078
--- Comment #13 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-11-11 23:03:38 UTC ---
I would say, the next step, is analyzing why: std::count seems a very simple
algorithm, no aliasing issues for example, compiler should be able to unroll,
maybe vectorize too, and everything else, without having to fiddle with the
code in an ad-hoc way.
More information about the Gcc-bugs
mailing list