This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

Re: Default std::vector<bool> default and move constructor


Gentle reminder, ok to commit ?

François

On 19/05/2017 21:39, François Dumont wrote:
Hi

On 15/05/2017 21:31, Marc Glisse wrote:
The __fill_bvector part of the fill overload for vector<bool> could do with some improvements as well. Looping is unnecessary, one just needs to produce the right mask and and or or with it, that shouldn't take more than 4 instructions or so.


I have implemented this idear so I would like to amend my patch proposal with this additional optimization.

Tested under Linux x86_64 normal mode.

Ok to commit ?

François




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