Op Fri, 16 Jul 2010, schreef Micha Nelissen:

Daniël Mantione wrote:
Op Fri, 16 Jul 2010, schreef Micha Nelissen:
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.

What do you mean with code quality then? I thought performance of the generated code.

Then we are thinking the same :)

The register allocator sacrified compiler speed for code quality. 2.0 generates much better code than 1.0.

Also there were lots of bugs due to runing out of registers before, the register allocator dealt with that problem once and forever, so you can also say we sacrified compiler speed for compiler reliability.

Daniël
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to