Default std::vector<bool> default and move constructor
François Dumont
frs.dumont@gmail.com
Fri May 19 19:39:00 GMT 2017
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bvector.patch
Type: text/x-patch
Size: 9395 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20170519/9e572835/attachment.bin>
More information about the Libstdc++
mailing list