[Lazarus] UTF8String and UTF8Delete
Juha Manninen
juha.manninen62 at gmail.com
Sat Dec 12 17:05:39 CET 2015
On Sat, Dec 12, 2015 at 5:47 PM, Bart <bartjunk64 at gmail.com> 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
More information about the Lazarus
mailing list