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 #8 from Jonathan Schmidt-Dominà <devel@the-user.org> 2011-08-23 19:04:25 UTC ---
For my application I should simply use an unordered_map and all the overhead
has gone. :D But operator< simply should not be that slow.

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

âbut I don't think it can be exposed.â
Well, that would not be portable.


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