
That's really an argument for upgrading to 7.4.2 :-)
Another reason for doing things with haskell is this mailing list.
Thanks!
Felix
________________________________
Fra: Johan Tibell
The program seems to take around 6 seconds on my linux-box, while the c version goes for 0.06 sekcond.
That is really some regression bug :-)
Anyone with a more recent version thatn 7.4.1?
On 7.4.2: $ time ./c_test ... real 0m0.145s user 0m0.040s sys 0m0.003s $ time ./Test ... real 0m0.234s user 0m0.220s sys 0m0.006s Both compiled with -O2.