[Haskell-cafe] Known Unknowns
joelkoerwer at gmail.com
Fri Jan 27 02:14:40 EST 2006
On 1/26/06, Donald Bruce Stewart <dons at cse.unsw.edu.au> wrote:
> Ah, i just do: ghc A.hs -O2 -ddump-simpl | less
> and then read the Core, keeping an eye on the functions I'm interested
> in, and checking they're compiling to the kind of loops I'd write by
> hand. This is particularly useful for the kinds of tight numeric loops
> used in some of the shootout entries.
In that case could you describe the kind of loops you'd write by hand?
Seriously. And perhaps typical problems/fixes when the compiler doesn't
produce what you want.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe