Re:Imperative Haskell
by lgas on Wednesday May 31, 2017 @03:03AM
(#14450832)
I was playing around a little more and I noticed that stack sets the following
ghc-options by default:
which I assumed explained some of the speedup, so I disabled them and got a
reduction to 99% cpu as expected, but unexpectedly the single threaded version
was about twice as fast:
[ Parent
| on HN ]
Haskell threaded runtime can have poorer performances than the non-threaded one on single threaded programs.