| It seems the -O2 option can give a significant speed increase relative
| to just the -O option. This is contrary to the documentation which says
-O2 switches on SpecConstr, which has improved quite a bit in the last year or
so. There's a paper on my home page about it (Constructor
Derek Elkins wrote:
Just to add as this was not addressed. -O2 -does not- turn off bounds
checking or any other obvious safety mechanism.
although even just -O removes GHC's special 'assert'ions (unless you
explicitly keep them on?) -- though they shouldn't be used in such a way
that they
r.kelsall:
I have been playing with the Fasta program in the shootout to see if
I can make it umm faster. Starting from dons program on this page and
adding some timing calculations as suggested on this wiki page
http://shootout.alioth.debian.org/gp4/benchmark.php?test=fastalang=ghcid=2
On Tue, 2007-07-17 at 11:24 +1000, Donald Bruce Stewart wrote:
r.kelsall:
I have been playing with the Fasta program in the shootout to see if
I can make it umm faster. Starting from dons program on this page and
adding some timing calculations as suggested on this wiki page