[Haskell-cafe] GHC threaded runtimes and pure functions

Andrew Coppin andrewcoppin at btinternet.com
Wed Sep 16 15:31:22 EDT 2009


Gregory Propf wrote:
> That makes sense.  So maybe I should split my mapping into two 
> parallel ones or however many CPUs there are using par.
>

If you're going to use par, it doesn't really matter how many sparks you 
create. You just need to avoid creating millions of really tiny sparks. 
You could create, say, eight and let GHC figure out the rest itself...



More information about the Haskell-Cafe mailing list