> I know that ghc performs hardly any optimisation if called without -O or -O2.
> However, is it necessary that just adding a single function definition to a
> program *without* calling this function increases execution time by 50%?
> (ghc-2.08)

That is odd However, I tried your example with 2.10 and 3.00 (I don't have 2.08
to hand) and it gives essentially the same time for both.

savage:~ > time chitil3-with +RTS -K10m
True16.39u 0.61s 0:17.18 98.9%
savage:~ > time chitil3-without +RTS -K10m
True16.44u 0.56s 0:17.37 97.8%

So I don't propose to pursue this.

Simon

Reply via email to