On Sun, 23 Nov 2008 11:09:25 +0200
listmember <[EMAIL PROTECTED]> wrote:

> >> I am only considering in memory representation being UTF-32 (or
> >> UCS-4).
> >
> > What do you mean with 'memory representation'?
> 
> That, each char in a string in memory would be 4-bytes (or more);
> yet, when saved on disk (or transmitted across the net etc.) it would
> be UTF-8 compressed. IOW, no compression applied to in-memory strings.

I thought my example described just that. If strings use 4 bytes per
char then ASCII text will need 4 times more memory.


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

Reply via email to