[fpc-devel] Alternative parsers

Alexander Klenin klenin at gmail.com
Tue Oct 19 16:42:19 CEST 2010


On Wed, Oct 20, 2010 at 01:30, Martin Schreiber <mse00000 at gmail.com> wrote:
> On Tuesday, 19. October 2010 16.11:33 Alexander Klenin wrote:
>
>> 1) I have serious suspicions that compile time on modern processors
>> is dominated by linking and I/O.
>> At least this is certainly true for FPC on Windows case.
>
> Do you remember the factor 10 compiling speed advangage of Delphi7 compared
> with FPC 2.4?
> http://www.mail-archive.com/fpc-devel@lists.freepascal.org/msg19068.html

I do. I also remember that one of the goals of DoDi's previous set of
refactorings
was to address that discrepancy.
And since they were rejected, FPC will continue to be slower than Delphi.
This is a typical showcase for the premature micro-optimization --
for a few percentages of speed in the short term,
you pay in reduced code maintainability,
which precludes high-level optimizations in the long term.

-- 
Alexander S. Klenin



More information about the fpc-devel mailing list