[Mono-devel-list] [PATCH] String speedup

Ben Maurer bmaurer at users.sourceforge.net
Sun Feb 22 18:39:40 EST 2004

Hey duder,

On Sun, 2004-02-22 at 18:32, Torstensson, Patrik wrote:
> The icall must use the memmove instead of memcpy because problems with
> overlapping memory blocks (see
> http://www.mail-archive.com/mono-list@lists.ximian.com/msg05275.html)

Not really,

The function takes two arguments, a string to copy to and a char [].
Since a string is not a char [], there is no chance that they could be
the same buffer.

-- Ben

More information about the Mono-devel-list mailing list