[fpc-devel] Messages overhead

Florian Klaempfl florian at freepascal.org
Thu Jul 15 08:57:47 CEST 2010


Hans-Peter Diettrich schrieb:
> Daniƫl Mantione schrieb:
> 
>>> IMO compiler messages slow down compilation a lot.
>>
>> How do you know this, did you benchmark or is it just your opinion?
> 
> Common knowledge, proved by experience.

Please profile the compiler first, people did this already.

> The message ID has to be re-encoded in a way, that allows to determine
> e.g. the message level immediately. All this currently is done only
> after text substitution, by inspection of the returned string.

This cannot be done because people should have the chance to use custom
error files to override message verbosities.



More information about the fpc-devel mailing list