[Haskell-cafe] library on common sub-expression elimination?
erkokl at gmail.com
Sat Aug 13 05:40:05 CEST 2011
On 8/12/2011 10:30 AM, Conal Elliott wrote:
> Note that data-reify will only find *some* common/equal sub-expressions,
> namely the pointer-equal ones. In all of my code-generating ("deep")
> DSLs, it's been very important for efficiency to also pull out
> equal-but-pointer-unequal expressions.
> - Conal
data-reify-cse (http://hackage.haskell.org/package/data-reify-cse) by
Sebastiaan Visser performs cse for graphs generated by Andy's data-reify.
More information about the Haskell-Cafe