On Tuesday, 8 April 2014 at 14:59:35 UTC, Artur Skawina wrote:
'memcoy' being a built-in compiler intrinsic means that when the compiler sees a 'memcpy' call, it does some checks (eg is the length statically known and small enough?) and then can generated the copy instructionsdirectly, instead of calling the lib function.
Then it could do such magic in the _d_arraycopy function where the call to memcpy exists. I'm still not seeing the motivation behind putting this call to memcpy in Phobos.
