[Haskell-cafe] Waiting for thread to finish

Matthew Brecknell haskell at brecknell.org
Wed Nov 28 19:29:38 EST 2007

Brad Clow:
> When I (deeply) force the worker thread's results to be strict, I
> observe both cores working, but the execution time (elapsed) slower.

I can only speculate, but since you emphasise deep forcing, I wonder how
deep is the structure returned from the worker thread? Could it be deep
enough to hurt CPU cache performance (compared to an unforced version
where production and consumption are interleaved)?

More information about the Haskell-Cafe mailing list