Hello Andrew, Wednesday, September 16, 2009, 11:31:22 PM, you 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... since these are green threads, 1 millisecond sparks should be acceptable and may be even 1 microsecod too. afair, overhead expenses was significantly reduced in ghc 6.12, soon to be released -- Best regards, Bulat mailto:bulat.zigans...@gmail.com _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe