Op Fri, 16 Jul 2010, schreef Micha Nelissen:
Daniël Mantione wrote:
Compiler speed can loose from maintainability, but it can also loose from
code quality; the performance of your application is probably also worth a
lot to you.
Does FPC compile significantly faster when using -O- then?
That is irrelevant; for example the register allocator made the compiler
slower (initially even 3 times, but we managed to reduce it to a few ten
%), but had great effects on code quality.
The most expensive optimization you can effect with -O is the assembler
optimizer, this is noticable in compilation speed.
However, debug info is for example something that affects speed more.
Daniël
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel