Suboptimal array copy in druntime?

Stefan Koch via Digitalmars-d digitalmars-d at puremagic.com
Sun Apr 16 03:33:01 PDT 2017


On Sunday, 16 April 2017 at 10:08:22 UTC, Guillaume Chatelet 
wrote:
> I was looking at the _d_arrayassign family functions in 
> druntime:
> https://github.com/dlang/druntime/blob/master/src/rt/arrayassign.d#L47
> https://github.com/dlang/druntime/blob/master/src/rt/arrayassign.d#L139
>
> [...]

Nope.
Those are valid points.

Templatizing the code is the way to go.


More information about the Digitalmars-d mailing list