Jason Dagit <[email protected]> writes:

> Be wary of timing things in GHCi.  By default there are no optimizations in
> ghci so you could find that one implementation is much worse than the other
> but the situation might be completely different when optimizations are
> enabled.  I'm pretty sure if you start ghci with the -O flag that it will
> use optimizations.

...or if you compile your module first (ghc -c), I believe GHCi will use the
compiled code.

-k
-- 
If I haven't seen further, it is by standing in the footprints of giants
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to