
18 Feb
2012
18 Feb
'12
8:38 a.m.
* Holger Siegel
You cannot. Common subexpression elimination is done by GHC very conservatively, because it can not only affect impure programs: it can also affects strictness/lazyness and worsen memory usage of pure code. Like the HaskellWiki says: "If you care about CSE, do it by hand."
How can it affect strictness or laziness? -- Roman I. Cheplyaka :: http://ro-che.info/