This may be true for executable code generated by the Pascal Macro Compiler, but it is not true for the data declarations that are generated for the packed strings. There is no executable code involved, so the compiler has nothing to optimize.
There is no wasted space, so there is nothing that can be improved.
Frank Rubin
In message 64.59024fb8.30075b31@aol.com, Contestcen@aol.com writes
Do you compress the strings (e.g. LZW) or are you just packing them efficiently?
Contestcen@aol.com wrote:
Yes -- if you only store the data and never access them.
Most people actually want to use the data they store. And the layout of the data can easily affect the code necessary to access it, both in speed and size.
Frank