I mean that any operation done on UTF8 string (deleting or inserting of part of string) consume as much as converting it to UTF16. So it will be less effective to do that operation twice with UTF8 string than to convert it to UTF16 where these operations may be done instantly.

----- Original Message ----- From: "Felipe Monteiro de Carvalho" <[EMAIL PROTECTED]>
To: "FPC-Pascal users discussions" <fpc-pascal@lists.freepascal.org>
Sent: Saturday, May 19, 2007 1:36 PM
Subject: Re: [fpc-pascal] UTF-8 versions of Copy() and Length()


On 5/19/07, Rimgaudas Laucius <[EMAIL PROTECTED]> wrote:
Performance:
Length (UTF8) = UTF8->UTF16
2*Lenth(UTF8)> UTF8->UTF16

I don't understand what you are trying to say here.

--
Felipe Monteiro de Carvalho
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal



_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to