This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

--- Comment #2 from Jonathan Schmidt-Dominà <devel@the-user.org> 2011-08-23 13:50:09 UTC ---
Well, it made my specific application very slow, when using vector<bool> as
key_type for (ordered) map.  What kind of numbers would be usefull? I think it
should simply have a specialised operator< implementation comparing chunks of
32/64 bits, there is also a specialised hash implementation, it should be like
that one.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]