[Haskell-cafe] Meaning of fizzled sparks?

David Banas capn.freako at gmail.com
Tue Oct 3 11:02:39 UTC 2023


Hi all,

If this code:

  f5Rslts      = map (f5 (n-1) startingMinScore startingMaxScore (otherColor clr) 0) newBoards `using` parList rdeepseq
  totalMoves   = sum $ map snd f5Rslts  -- Attempt at parallelization yielded no perf. improvement.

is yielding a fizzled spark ratio of about 0.3,
does it imply that the sum begins pulling from the list, before the sparks have had a chance to compute the first third of the list elements?

Thanks,
-db

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20231003/135d576a/attachment.html>


More information about the Haskell-Cafe mailing list