
Hi Simon,
I added some `seq` 's to the code.
I also used SSE (not p4, i don't have the p4 available by now, but i'll
test it)
and indeed, it runs _a bit_ faster: ~640 now vs. 711 ms before (Speedup
1.11).
Now, Haskell takes 4.57 the time of C++ (cygwin gnu C++ with -O2).
But if i look in the interface file by -ddump-hi, i see lot's of U(L) 's
instead of S
or similar in the signature of the functions. I think that U(L) is better
than L, but
can i do better than U(L) somehow?
Regards,
Andreas Schroeder
|---------+--------------------------->
| | "Simon Marlow" |
| |
-------------------------------------------------------------------------------------------------------------------| | | | An:
, | | Kopie: "JP Bernardy" | | Thema: RE: Faster, GHC, and floating point. | -------------------------------------------------------------------------------------------------------------------|
Looking at your code, it looks like you should add some more strictness.