[Haskell-cafe] To my boss: The code is cool, but it is about 100 times slower than the old one...

Johan Tibell johan.tibell at gmail.com
Thu Nov 29 22:06:39 CET 2012


On Thu, Nov 29, 2012 at 1:00 PM, Fixie Fixie <fixie.fixie at 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.



More information about the Haskell-Cafe mailing list