How do I check the optimisation level of the built-in splitAt? Is something other than -O2 giving me my speed increase?

Bulat Ziganshin bulat.ziganshin at
Thu May 15 05:54:09 EDT 2008

Hello Simon,

Thursday, May 15, 2008, 1:31:32 PM, you wrote:

> It's hard to tell what optimisation level your libraries were compiled
> with.  The default setting is -O, but when building binary distributions we
> usually set it explicitly to -O2.  If you got your binary from another
> source, they might have only used -O.

not surprising that noone answered this question in cafe :)

actually, main Windows builds goes from Sigbjorn Finne afair. may be
from Neil too. so we probably need to warn them that their builds may
be sub-optimal?

Best regards,
 Bulat                            mailto:Bulat.Ziganshin at

More information about the Glasgow-haskell-users mailing list