On 7 December 2017 at 23:39, Daniel Kozak <kozz...@gmail.com> wrote:
> The other slowdown is caused by concatenation. Because std::string += is
> more simillar to std.array.(Ref)Appender
>

Correct.  The semantics of ~= mean that the memory is copied around to
a new allocation every time (unless the array is marked
assumeSafeAppend).

Reply via email to