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

--- Comment #11 from Marc Glisse <marc.glisse at normalesup dot org> 2011-08-23 
19:16:40 UTC ---
(In reply to comment #8)
> For my application I should simply use an unordered_map and all the overhead
> has gone. :D

Great.

> “I haven't thought about the potential drawbacks of implementing vector<bool>
> backwards.”
> What do you mean? Chunk wise backwards?

Er, yes, start filling each chunk from the most significant bit to the least
significant, but otherwise keep things the same.

> Hmm, reversing really is not that nice.

Any particular reason? Not that the current implementation is likely to change
anytime soon, but if you found drawbacks it would be nice to have them written
somewhere in case the same question ever arises again.

Reply via email to