On Sat, Dec 12, 2015 at 5:47 PM, Bart <[email protected]> wrote:
>   Move(S[1], Temp[1], Length(S));
> ...
>   Move(Temp[1], S[1], Length(Temp));

No good. Moving the data in memory *twice* kills performance completely.
Current Utf8Delete calls Delete which also moves data but only once.

> Anyhow, as stated before, there should be noneed to use the type
> Utf8String in Lazarus programs.

Maybe not now but we must find a clean way to support it in future.

Juha

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to