[fpc-pascal] Happy tickets benchmark
Florian Klaempfl
florian at freepascal.org
Sun Feb 14 10:35:22 CET 2016
Am 14.02.2016 um 10:23 schrieb Mattias Gaertner:
> On Sun, 14 Feb 2016 10:11:54 +0100
> Florian Klaempfl <florian at freepascal.org> wrote:
>
>> [...]
>> For the record: with a few changes in the compiler I could reduce the
>> execution time of the example significantly . But I won't commit it
>> probably (maybe parts of it): extensive loop unrolling and loop
>> invariant search has normally little advantages in real world programs
>> and increases only compilation times.
>
> If it is easy to implement could it be optional?
Do you think people will bother? Nobody mentioned to the original poster
so far:
- that the used FPC is outdated
- that only -O2 is used instead of -O3 (or -O4 with 3.0.0)
- that even FPC 2.6.4 has a -Ooloopunroll option which is never enabled
by default and which is worth a try
I do not know if the points above really effect the example, but it
tells me enough not to bother either :)
More information about the fpc-pascal
mailing list