[Bug libstdc++/50160] vector<bool> comparison very slow (no overload)

devel@the-user.org gcc-bugzilla@gcc.gnu.org
Wed Aug 31 00:34:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50160

--- Comment #21 from Jonathan Schmidt-Dominé <devel@the-user.org> 2011-08-31 00:30:58 UTC ---
It would indeed be nice to have such a builtin function (8, 16, 32, 64 bit
reversing), currently there is none in gcc, only bytewise reversing iirc.
Should that be put as wishlist-item in the bugzilla or something like that?

Reversing is necessary because the ordering should be lexicographic, but the
internal representation uses least-significant-first, reversing the internal
representation would probably not be that nice.



More information about the Gcc-bugs mailing list