In our previous episode, Michael Schnell said:
> > Not old Delphi compatible. One can go new delphi compatible, and make 
> > everything 2-byte as much as possible.
> 
> Of course I did mean compatibility to "New" Delphi Strings.
> 
> But here (seemingly) TStrings (and with this TStringList) works on a 
> single pre-defined (2-Byte) encoding. And hence any other encoding (as 
> well 2 Byte as 1 Byte) needs time consuming conversions in and out.

Which other 2 byte encodings are you talking about?  Anyway the solution is
simple: don't do that, keep it utf16.

TStringlist is not for the performance sensitive in the first place. 
 
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to