
8 Nov
2007
8 Nov
'07
9:19 p.m.
Hello Dan, Thursday, November 8, 2007, 10:12:04 PM, you wrote:
The strictness gave me something like a 10% performance increase making the Haskell code more than 10 times slower than the C. Is this the right type of array to use for performance?
yes. but ghc is especially slow doing FP arithmetics. in my own simple test ( a[i]=b[i]+c[i] ) it's 20x slower than gcc, so your results aren't surprising -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com