This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/50160] vector<bool> comparison very slow (no specialisation)
- From: "devel at the-user dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 23 Aug 2011 13:50:09 +0000
- Subject: [Bug libstdc++/50160] vector<bool> comparison very slow (no specialisation)
- Auto-submitted: auto-generated
- References: <bug-50160-4@http.gcc.gnu.org/bugzilla/>
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.