Michael Schnell schrieb:

5) In DXE the TStringList (and supposedly TStrings) class uses "String" as it's user interface, In Delphi, "String" is mapped to a Type that is strictly encoded as a (windowish) two-Byte Unicode Type. This results in a huge performance hit when using it with a (normal) string variable with another encoding type, as storing and retrieving results in a dual conversion.

You forget that the "normal" string type is UnicodeString, making *your* suggestion extremely slow.

DoDi

_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to