* [ Serge <[EMAIL PROTECTED]>
* Fri, 24 May 2002 21:29:54 +0200 ]
> I think that the point is to use fast block move instructions if
> available (say, MOVS on x86), especially in the cases where
> size=const.  Hence non-overlapping behaviour in the specs.

Hi Sergey!

memcpy already takes care of copying in the fastest way posible. It has
a threshold (may be 8, can't remember now) and if the number of bytes to
copy is GE than the threshold, it uses movl. If not, it uses movb.



_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to