4 ms·
Before you go and rewrite everything in Haskell for speed, it might be worth trying to reproduce the results from here. I tried to and C was much faster than Ha
by TheNewAndy 14y ago
Before you go and rewrite everything in Haskell for speed, it might be worth trying to reproduce the results from here. I tried to and C was much faster than Haskell:
http://paulspontifications.blogspot.com.au/2013/01/when-haskell-is-faster-than-c.html?showComment=1358558313945#c3252681956440975671 http://paulspontifications.blogspot.com.au/2013/01/when-hask...
- vilhelm_s 14y agoWhen I try it, the Haskell version is faster (1.3s versus 2.6s on a 98MB input file). GHC 7.0.4 with -O3, GCC 4.6.2 with -O3. Not sure why these results are different...