Florian Klaempfl 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.

This is what I'm going to do now.

Does there exist some profiling code already, or do I have to reinvent the wheel?


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.

Couldn't this be delegated to an custom message handler?

DoDi

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to