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

I am not disputing that.

What I am curious about is: 4 times of what?

It is not hard to tell that an app that works with text files (such as Lazarus) will consume 4 times more memory per file loaded.

But, how much memory does, say, Lazarus --itself-- consume specifically for string storage when run for the first time?

This is what I am after.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to