This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/28587] vector<bool> is extremely slow (900x slower than it should be)
- From: "sabre at nondot dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Aug 2006 19:21:06 -0000
- Subject: [Bug libstdc++/28587] vector<bool> is extremely slow (900x slower than it should be)
- References: <bug-28587-6809@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from sabre at nondot dot org 2006-08-03 19:21 -------
>the people actively working in the C++ Standard Commitee strongly dislike
>vector<bool> for many reasons, and probably it will be deprecated in C++03 and?
> replacement added. That implies, in turn, that it's not so easy to find
> people willing to spend much time on (the various) implementations...
Fair enough.? My impression was? that this was because std::vector<bool> is
"not a container" and that the specialization doesn't act like the parent
container.? My (possibly flawed) understanding was that they were planning on
eliminating vector<bool> but were planning to introduce the same capability
under a new name, e.g. bit_vector or something like it.? If? that's the case,
the effort isn't lost.
-Chris
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28587