Replacing C's memcpy with a D implementation
Walter Bright
newshound2 at digitalmars.com
Sun Jun 10 22:17:27 UTC 2018
On 6/10/2018 6:45 AM, Mike Franklin wrote:
> void memcpyD()
> {
> dst = src.dup;
> }
Note that .dup is doing a GC memory allocation.
More information about the Digitalmars-d
mailing list