[fpc-pascal] Delete and Add for TBytes?

Michael Schnell mschnell at lumino.de
Thu Jul 13 10:05:38 CEST 2017


On 12.07.2017 16:07, Bo Berglund wrote:
> I would like to instead use TBytes as container
As a dynamic array (TBytes) does not support lazy copy, this might 
introduce some performance and other trouble.

AFAIK, FPC's ANSISTring should not introduce any (Unicode) translations 
as long as you use the same string (UTF-8) type everywhere.

But of course this is not compatible with Delphi XE, that uses UTF-16)

-Michael



More information about the fpc-pascal mailing list