[Haskell-cafe] GHC vs GCC vs JHC

Roman Leshchinskiy rl at cse.unsw.edu.au
Sat Mar 27 20:49:22 EDT 2010


On 28/03/2010, at 11:07, John Meacham wrote:

> I have not thoroughly checked it, but I think there are a couple things
> going on here:

It could also be worthwhile to float out (i*i + j*j) in rangeK instead of computing it in every loop iteration. Neither ghc nor gcc can do this; if jhc can then that might explain the performance difference (although I would expect it to be larger in this case).

Roman




More information about the Haskell-Cafe mailing list