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 <johan.tibell@gmail.com> Til: Fixie Fixie <fixie.fixie@rocketmail.com> Kopi: Haskell cafe <haskell-cafe@haskell.org> Sendt: Torsdag, 29. november 2012 22.06 Emne: Re: [Haskell-cafe] To my boss: The code is cool, but it is about 100 times slower than the old one... On Thu, Nov 29, 2012 at 1:00 PM, Fixie Fixie <fixie.fixie@rocketmail.com> wrote:
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.