[fpc-devel] Re: dominant short strings in compiler source

Peter Vreman peter at freepascal.org
Fri May 19 19:29:29 CEST 2006


> > That's one solution, that's not the only solution.
>
>Very right. It is a trade-off. Do you fix the shortstring issue
>and continue to get their benefits, or do you abandon them,
>rewrite large parts of the compiler and pay the performance/memory
>usage price?

There are already some complains about the memory usage. Increasing the 
string size adds a lot more overhead. Especially for all the small labels 
like .L1 etc. Already using longstrings will add 3 bytes for the length 
alsomost doubling the size from 4 to 7 bytes.


Peter




More information about the fpc-devel mailing list