[fpc-devel] Memory consumed by strings
listmember at letterboxes.org
Sun Nov 23 13:14:28 CET 2008
On 2008-11-23 14:10, Daniël Mantione wrote:
> Therefore, any other encoding is a waste of memory and does not gain you
> any speed. For that reason, I don't see the compiler switch from 8-bit
> processing either.
I nearly fully agree with you.
Except that, when a string constant needs to contain non-ASCI chars.
What do we do in these cases?
> Only if you need to process characters (rather than pass them on),
> UTF-32 is a lot faster and simpler.
Yes. If I knew how to write this patch, I'd be working on it right now.
More information about the fpc-devel