[Haskell-cafe] Find out which part of code are causing parallelism?

Johannes Waldmann johannes.waldmann at htwk-leipzig.de
Fri Dec 28 14:07:32 UTC 2018


>  however I just found out that without inserting
> any parallism manually the program is already parallelised,

That's not your program, it's the garbage collector.

"By default, all of the capabilities participate in parallel garbage
collection."

https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/runtime_control.html#rts-options-to-control-the-garbage-collector

- J.W.


More information about the Haskell-Cafe mailing list