|
Boost Users : |
Subject: Re: [Boost-users] [container.string] why isn't memcpy used in the internals?
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2014-02-11 08:13:37
El 11/02/2014 8:46, Adam Romanek escribió:
> On 02/10/2014 09:54 AM, Ion Gaztañaga wrote:
>> El 10/02/2014 9:18, Adam Romanek escribió:
>>> Should I create a ticket for this issue?
>>
>> Yes, please. I'm slowly trying to benchmark and improve Boost.Container
>> performance, I haven't started optimizing basic_string so your ticket
>> could be a good start point.
>
> For those interested see [1] for the created ticket. I also provided a
> patch with a fix proposal.
>
> Best regards,
> Adam Romanek
>
> [1] https://svn.boost.org/trac/boost/ticket/9648
Thanks for the patch. I think it's missing a final step: it should set
the size of the container:
this->priv_size(n);
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net