IMO compiler messages slow down compilation a lot. When messages are not
really output (prevented by message level...), then a lot of procedure
calls and string operations can be avoided, when the message preparation
is bypassed at all.
verbose.Message1 ff. could check the level (and exit accordingly) prior
to any further work.
MayBeLoadMessageFile could be moved into Msg2Comment in most cases, and
again a quick check (or inline) can prevent calling this subroutine at all.
DoDi
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel