https://issues.dlang.org/show_bug.cgi?id=7942

--- Comment #6 from yebblies <[email protected]> ---
(In reply to Kenji Hara from comment #5)
> 
> In contrast to the one character transcoding on foreach iteration, the
> implicit transcoding cost on appending will be bigger when appended string
> is very long, and it would be sometimes difficult to find it.
> 
> I think accepting it is not reasonable.

Appending an array of values to an array will take longer than appending a
single value.  Even with implicit re-encoding it will still be O(N), same as
other arrays.

Appending an array of structs with postblits could easily cause the same sort
of performance problems.

--

Reply via email to