Should GHC default to -O1 ?
Felipe Almeida Lessa
felipe.lessa at gmail.com
Wed Nov 9 01:17:35 CET 2011
On Tue, Nov 8, 2011 at 3:01 PM, Daniel Fischer
<daniel.is.fischer at googlemail.com> wrote:
> On Tuesday 08 November 2011, 17:16:27, Simon Marlow wrote:
>> most people know about 1, but I think 2 is probably less well-known.
>> When in the edit-compile-debug cycle it really helps to have -O off,
>> because your compiles will be so much quicker due to both factors 1 & 2.
>
> Of course. So defaulting to -O1 would mean one has to specify -O0 in the
> .cabal or Makefile resp. on the command line during development, which
> certainly is an inconvenience.
AFAIK, Cabal already uses -O1 by default.
Cheers,
--
Felipe.
More information about the Glasgow-haskell-users
mailing list