On 11 Nov 2009, at 10:07, Graeme Geldenhuys wrote:

Sergei Gorelkin wrote:

It won't. 4 bytes will be used anyway because of alignment.
On x86_64, it is even 8 bytes.

Does that mean in the cpstrnew branch and on x86_64 systems, the UTF-8
string 'a' will be 9 bytes long?

No, 25 bytes. The plain ansistring 'a' is already 17 bytes on x86_64 platforms today.


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

Reply via email to