On Sunday, 25 December 2011 at 01:08:04 UTC, Piotr Szturmaj wrote:
Where does your code use memcpy? I see one mention in the
comments, but
none in the code.
See putArray() in base.d
Sorry, I lost track of the conversation. I was looking at uuid.d.
Anyway, I believe you can do without memcpy by using array
copy? Array
copy might even be faster, since memcpy is not a DMD compiler
intrinsic
like in many C/C++ compilers.
I converted memcpy calls to array copy but it become about 1
Mbps slower.
I guess array copy is currently a runtime call rather than an
intrinsic, then...